Browse Source

Merge pull request #556 from ivaradi/qaction

Provide parent to QAction
Camila Ayres 7 years ago
parent
commit
fa5143a66d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/gui/settingsdialog.cpp

+ 1 - 1
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