mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-09-12 16:13:13 +02:00
Fixed #1477
This commit is contained in:
@@ -245,6 +245,9 @@ int main( int argc, char *argv[] )
|
|||||||
|
|
||||||
mw->show();
|
mw->show();
|
||||||
|
|
||||||
|
// it is connected to QApplication's slot, not to FWBApplication
|
||||||
|
app->setQuitOnLastWindowClosed(false);
|
||||||
|
// connecting to right slot
|
||||||
app->connect(app, SIGNAL(lastWindowClosed()), app, SLOT(quit()));
|
app->connect(app, SIGNAL(lastWindowClosed()), app, SLOT(quit()));
|
||||||
|
|
||||||
#if defined(Q_WS_MAC)
|
#if defined(Q_WS_MAC)
|
||||||
|
|||||||
Reference in New Issue
Block a user