summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qapplication.cpp
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2009-04-23 09:02:14 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2009-04-23 09:02:14 (GMT)
commit429f29a305559313f92866ac19cf224ad1497b33 (patch)
tree8f8cc1dd5f6485d3282eec52c83a9fbeb71dd29e /src/gui/kernel/qapplication.cpp
parent33afa6c1fbe230dec4eea435f9ad5d4141c128a8 (diff)
parentbe3916b7e4e8007394cbed40484ef6b696e90f2b (diff)
downloadQt-429f29a305559313f92866ac19cf224ad1497b33.zip
Qt-429f29a305559313f92866ac19cf224ad1497b33.tar.gz
Qt-429f29a305559313f92866ac19cf224ad1497b33.tar.bz2
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into windows-7-multitouch
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 52d6a70..6755ffd 100644
--- a/src/gui/kernel/qapplication.cpp
+++ b/src/gui/kernel/qapplication.cpp
@@ -833,12 +833,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;
@@ -2101,8 +2102,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);
}
}