diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-07-07 17:48:48 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-07-10 20:45:37 -0400 |
| commit | c38e864c92b7958099d74048fdfc88a5d3b40dcc (patch) | |
| tree | 4bec21ca5863d3be49135498d5108e73cccee271 /src/main.cpp | |
| parent | 724945ab33864c1fd8d3162bdd85ca66f8bb311d (diff) | |
set the progress dialog's parent to main window as soon as it's available
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index f2571685..0b078f03 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -697,6 +697,9 @@ int runApplication(MOApplication &application, SingleInstance &instance, // set up main window and its data structures MainWindow mainWindow(settings, organizer, pluginContainer); + NexusInterface::instance(&pluginContainer) + ->getAccessManager()->setTopLevelWidget(&mainWindow); + QObject::connect(&mainWindow, SIGNAL(styleChanged(QString)), &application, SLOT(setStyleFile(QString))); QObject::connect(&instance, SIGNAL(messageSent(QString)), &organizer, |
