diff options
author | Joerg Bornemann <joerg.bornemann@nokia.com> | 2009-09-03 09:00:59 (GMT) |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@nokia.com> | 2009-09-03 11:44:16 (GMT) |
commit | 38bed97d8bd0dd22abad856849beebf03a787181 (patch) | |
tree | 4f2c63d5018b2727f145f12f7e06fb9151423a4b /src | |
parent | 04b391e135a30060ed6d74bf9d14ba3894b08519 (diff) | |
download | Qt-38bed97d8bd0dd22abad856849beebf03a787181.zip Qt-38bed97d8bd0dd22abad856849beebf03a787181.tar.gz Qt-38bed97d8bd0dd22abad856849beebf03a787181.tar.bz2 |
unneeded Q_OS_WINCE checks removed
There's a big outer ifdef and we don't need these inner checks.
Reviewed-by: thartman
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/kernel/qapplication_win.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gui/kernel/qapplication_win.cpp b/src/gui/kernel/qapplication_win.cpp index 260db93..ddc491b 100644 --- a/src/gui/kernel/qapplication_win.cpp +++ b/src/gui/kernel/qapplication_win.cpp @@ -1958,11 +1958,9 @@ LRESULT CALLBACK QtWndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam QHideEvent e; qt_sendSpontaneousEvent(widget, &e); widget->hideChildren(true); -#ifndef Q_OS_WINCE const QString title = widget->windowIconText(); if (!title.isEmpty()) widget->setWindowTitle_helper(title); -#endif } result = false; break; @@ -1981,11 +1979,9 @@ LRESULT CALLBACK QtWndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam widget->showChildren(true); QShowEvent e; qt_sendSpontaneousEvent(widget, &e); -#ifndef Q_OS_WINCE const QString title = widget->windowTitle(); if (!title.isEmpty()) widget->setWindowTitle_helper(title); -#endif } result = false; break; @@ -1998,7 +1994,7 @@ LRESULT CALLBACK QtWndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam QWindowStateChangeEvent e(oldstate); qt_sendSpontaneousEvent(widget, &e); } -#endif +#endif // #ifndef Q_OS_WINCE break; } |