aboutsummaryrefslogtreecommitdiff
path: root/src/widgets/duiwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/duiwindow.cpp')
-rw-r--r--src/widgets/duiwindow.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/widgets/duiwindow.cpp b/src/widgets/duiwindow.cpp
index 87afd621..7541b8d5 100644
--- a/src/widgets/duiwindow.cpp
+++ b/src/widgets/duiwindow.cpp
@@ -570,13 +570,6 @@ void DuiWindow::onDisplayChangeEvent(DuiOnDisplayChangeEvent *event)
void DuiWindow::paintEvent(QPaintEvent *event)
{
- // Disable view updates if the theme is not fully loaded yet
- // TODO: Alco check for "!isOnDisplay()" to block repaints if the
- // window is not visible anyway. Enable this once this works in
- // scratchbox.
- if (!updatesEnabled() || DuiTheme::hasPendingRequests()) {
- return;
- }
#ifdef DUI_USE_OPENGL
Q_D(DuiWindow);