From 14615855d04dcd12b378a312a9fc05387a00328b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20V=C3=A1radi?= Date: Tue, 14 Aug 2018 11:54:08 +0200 Subject: [PATCH] Provide parent to QAction --- src/gui/settingsdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/settingsdialog.cpp b/src/gui/settingsdialog.cpp index 63db53292d..38ad7c7cea 100644 --- a/src/gui/settingsdialog.cpp +++ b/src/gui/settingsdialog.cpp @@ -96,7 +96,7 @@ SettingsDialog::SettingsDialog(ownCloudGui *gui, QWidget *parent) accountAdded(ai.data()); } - _actionBefore = new QAction; + _actionBefore = new QAction(this); _toolBar->addAction(_actionBefore); // Adds space between users + activities and general + network actions