summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Koller <[email protected]>2017-08-21 07:45:19 +0200
committerMartin Koller <[email protected]>2017-08-21 07:45:19 +0200
commit8ca47e4a95a328705714f3252348adb366837386 (patch)
tree732660ded8be97837d491f73c0cb388250a7a037
parentc81e9b008f736a61a22665171b04d3c728d5946c (diff)
make it compile with gcc-4.8.5
-rw-r--r--ktnef/src/ktnefmain.cpp2
-rw-r--r--src/editor/kmcomposerwin.cpp2
-rw-r--r--src/job/createnewcontactjob.cpp4
-rw-r--r--src/kmmainwin.cpp2
-rw-r--r--src/kmreadermainwin.cpp2
5 files changed, 6 insertions, 6 deletions
diff --git a/ktnef/src/ktnefmain.cpp b/ktnef/src/ktnefmain.cpp
index 2d52321..729ee84 100644
--- a/ktnef/src/ktnefmain.cpp
+++ b/ktnef/src/ktnefmain.cpp
@@ -479,7 +479,7 @@ void KTNEFMain::slotEditToolbars()
saveMainWindowSettings(grp);
QPointer<KEditToolBar> dlg = new KEditToolBar(factory());
- connect(dlg, &KEditToolBar::newToolBarConfig, this, &KTNEFMain::slotNewToolbarConfig);
+ connect(dlg.data(), &KEditToolBar::newToolBarConfig, this, &KTNEFMain::slotNewToolbarConfig);
dlg->exec();
delete dlg;
}
diff --git a/src/editor/kmcomposerwin.cpp b/src/editor/kmcomposerwin.cpp
index c6c0d3e..f059346 100644
--- a/src/editor/kmcomposerwin.cpp
+++ b/src/editor/kmcomposerwin.cpp
@@ -3020,7 +3020,7 @@ void KMComposerWin::slotEditToolbars()
saveMainWindowSettings(grp);
QPointer<KEditToolBar> dlg = new KEditToolBar(guiFactory(), this);
- connect(dlg, &KEditToolBar::newToolBarConfig, this, &KMComposerWin::slotUpdateToolbars);
+ connect(dlg.data(), &KEditToolBar::newToolBarConfig, this, &KMComposerWin::slotUpdateToolbars);
dlg->exec();
delete dlg;
diff --git a/src/job/createnewcontactjob.cpp b/src/job/createnewcontactjob.cpp
index 2caf649..a9ddc61 100644
--- a/src/job/createnewcontactjob.cpp
+++ b/src/job/createnewcontactjob.cpp
@@ -123,8 +123,8 @@ void CreateNewContactJob::slotResourceCreationDone(KJob *job)
void CreateNewContactJob::createContact()
{
QPointer<Akonadi::ContactEditorDialog> dlg = new Akonadi::ContactEditorDialog(Akonadi::ContactEditorDialog::CreateMode, mParentWidget);
- connect(dlg, &Akonadi::ContactEditorDialog::contactStored, this, &CreateNewContactJob::contactStored);
- connect(dlg, &Akonadi::ContactEditorDialog::error, this, &CreateNewContactJob::slotContactEditorError);
+ connect(dlg.data(), &Akonadi::ContactEditorDialog::contactStored, this, &CreateNewContactJob::contactStored);
+ connect(dlg.data(), &Akonadi::ContactEditorDialog::error, this, &CreateNewContactJob::slotContactEditorError);
dlg->exec();
delete dlg;
}
diff --git a/src/kmmainwin.cpp b/src/kmmainwin.cpp
index df12628..dd3d64b 100644
--- a/src/kmmainwin.cpp
+++ b/src/kmmainwin.cpp
@@ -149,7 +149,7 @@ void KMMainWin::slotEditToolbars()
KConfigGroup grp = KMKernel::self()->config()->group("Main Window");
saveMainWindowSettings(grp);
QPointer<KEditToolBar> dlg = new KEditToolBar(guiFactory(), this);
- connect(dlg, &KEditToolBar::newToolBarConfig, this, &KMMainWin::slotUpdateGui);
+ connect(dlg.data(), &KEditToolBar::newToolBarConfig, this, &KMMainWin::slotUpdateGui);
dlg->exec();
delete dlg;
diff --git a/src/kmreadermainwin.cpp b/src/kmreadermainwin.cpp
index 263a14b..7056cb4 100644
--- a/src/kmreadermainwin.cpp
+++ b/src/kmreadermainwin.cpp
@@ -659,7 +659,7 @@ void KMReaderMainWin::slotEditToolbars()
KConfigGroup grp(KMKernel::self()->config(), "ReaderWindow");
saveMainWindowSettings(grp);
QPointer<KEditToolBar> dlg = new KEditToolBar(guiFactory(), this);
- connect(dlg, &KEditToolBar::newToolBarConfig, this, &KMReaderMainWin::slotUpdateToolbars);
+ connect(dlg.data(), &KEditToolBar::newToolBarConfig, this, &KMReaderMainWin::slotUpdateToolbars);
dlg->exec();
delete dlg;
}