Mercurial > octave-nkf
diff libgui/src/main-window.cc @ 19471:d57edbd761aa gui-release
make sure the console window gets active custom style at beginning
* main-window.cc (construct): earlier connect to the focus changed signal
author | Torsten <ttl@justmail.de> |
---|---|
date | Mon, 29 Dec 2014 13:52:42 +0100 |
parents | be53bf420464 |
children | 7934b56c8b7b 52c51472b6b9 |
line wrap: on
line diff
--- a/libgui/src/main-window.cc Sat Dec 27 19:32:42 2014 +0100 +++ b/libgui/src/main-window.cc Mon Dec 29 13:52:42 2014 +0100 @@ -1275,6 +1275,9 @@ connect (qApp, SIGNAL (aboutToQuit ()), this, SLOT (prepare_to_exit ())); + connect (qApp, SIGNAL (focusChanged (QWidget*, QWidget*)), + this, SLOT(focus_changed (QWidget*, QWidget*))); + connect (this, SIGNAL (settings_changed (const QSettings *)), this, SLOT (notice_settings (const QSettings *))); @@ -1326,9 +1329,6 @@ construct_octave_qt_link (); - connect (qApp, SIGNAL (focusChanged (QWidget*, QWidget*)), - this, SLOT(focus_changed (QWidget*, QWidget*))); - #ifdef HAVE_QSCINTILLA connect (this, SIGNAL (insert_debugger_pointer_signal (const QString&, int)),