X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fmainwin.cpp;h=96786528d0554e3b4daeb0a4afa2398ee54c10f8;hp=acfe79fa4aa82752ed858673652956d003a2c320;hb=285215315e6f2420724532323a4b1bccae156cb1;hpb=dd2688ca5641927452ac4057f156ff73c1eb5278 diff --git a/src/qtui/mainwin.cpp b/src/qtui/mainwin.cpp index acfe79fa..96786528 100644 --- a/src/qtui/mainwin.cpp +++ b/src/qtui/mainwin.cpp @@ -923,12 +923,12 @@ void MainWin::showNotificationsDlg() void MainWin::onConfigureNetworksTriggered() { - SettingsPageDlg{new NetworksSettingsPage{}}.exec(); + SettingsPageDlg{new NetworksSettingsPage{}, this}.exec(); } void MainWin::onConfigureViewsTriggered() { - SettingsPageDlg{new BufferViewSettingsPage{}}.exec(); + SettingsPageDlg{new BufferViewSettingsPage{}, this}.exec(); } void MainWin::onLockLayoutToggled(bool lock) @@ -1519,7 +1519,7 @@ void MainWin::awayLogDestroyed() void MainWin::showSettingsDlg() { - auto dlg = new SettingsDlg(); + auto dlg = new SettingsDlg(this); // Category: Interface dlg->registerSettingsPage(new AppearanceSettingsPage(dlg)); @@ -1564,7 +1564,7 @@ void MainWin::showSettingsDlg() void MainWin::showAboutDlg() { - AboutDlg{}.exec(); + AboutDlg{this}.exec(); } void MainWin::showShortcutsDlg() @@ -1576,7 +1576,7 @@ void MainWin::showShortcutsDlg() } dlg.configure(true); #else - SettingsPageDlg{new ShortcutsSettingsPage{QtUi::actionCollections()}}.exec(); + SettingsPageDlg{new ShortcutsSettingsPage{QtUi::actionCollections()}, this}.exec(); #endif }