summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qapplication.cpp
diff options
context:
space:
mode:
authorJarek Kobus <jkobus@trolltech.com>2009-04-27 12:27:37 (GMT)
committerJarek Kobus <jkobus@trolltech.com>2009-04-27 12:27:37 (GMT)
commitfa6b4a76291229f29b21063f1ee8d550aec8c48b (patch)
tree53827b4eaeb564d7de37bdcb845c05af30d35f5f /src/gui/kernel/qapplication.cpp
parent96a27e24eec9356e45f1a6b6ff641a9afab24a39 (diff)
parent63a4d6652aa8d84282083e49217120c97bb0bfc8 (diff)
downloadQt-fa6b4a76291229f29b21063f1ee8d550aec8c48b.zip
Qt-fa6b4a76291229f29b21063f1ee8d550aec8c48b.tar.gz
Qt-fa6b4a76291229f29b21063f1ee8d550aec8c48b.tar.bz2
Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt into 4.5
Diffstat (limited to 'src/gui/kernel/qapplication.cpp')
-rw-r--r--src/gui/kernel/qapplication.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/kernel/qapplication.cpp b/src/gui/kernel/qapplication.cpp
index 09f0f91..d0b1790 100644
--- a/src/gui/kernel/qapplication.cpp
+++ b/src/gui/kernel/qapplication.cpp
@@ -832,12 +832,13 @@ QApplication::QApplication(Display *dpy, int &argc, char **argv,
#endif // Q_WS_X11
+extern void qInitDrawhelperAsm();
/*!
+ \fn void QApplicationPrivate::initialize()
+
Initializes the QApplication object, called from the constructors.
*/
-extern void qInitDrawhelperAsm();
-
void QApplicationPrivate::initialize()
{
QWidgetPrivate::mapper = new QWidgetMapper;
@@ -2099,8 +2100,8 @@ void QApplicationPrivate::setFocusWidget(QWidget *focus, Qt::FocusReason reason)
if (that)
QApplication::sendEvent(that->style(), &in);
}
+ emit qApp->focusChanged(prev, focus_widget);
}
- emit qApp->focusChanged(prev, focus_widget);
}
}