summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Koller <[email protected]>2017-08-21 18:42:13 +0200
committerMartin Koller <[email protected]>2017-08-21 18:42:13 +0200
commitf1d66f813a07c3693bb7a0cb79b53bc8c1446e13 (patch)
tree9593772e8e707c28de47725cd71ca2ffe34ade74
parent58ce31809cae0cf062bcbc957f28fcd48c658685 (diff)
make it compile with gcc-4.8.5
-rw-r--r--src/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index a88e4b7..a1d4663 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -182,7 +182,7 @@ void MainWindow::optionsConfigureToolbars()
KConfigGroup grp(KSharedConfig::openConfig().data()->group(autoSaveGroup()));
saveMainWindowSettings(grp);
QPointer<KEditToolBar> dlg = new KEditToolBar(factory());
- connect(dlg, &KEditToolBar::newToolBarConfig, this, &MainWindow::applyNewToolbarConfig);
+ connect(dlg.data(), &KEditToolBar::newToolBarConfig, this, &MainWindow::applyNewToolbarConfig);
dlg->exec();
delete dlg;
}