Provide parent to QAction

This commit is contained in:
István Váradi 2018-08-14 11:54:08 +02:00
parent f0ef2c27a3
commit 14615855d0

View file

@ -96,7 +96,7 @@ SettingsDialog::SettingsDialog(ownCloudGui *gui, QWidget *parent)
accountAdded(ai.data()); accountAdded(ai.data());
} }
_actionBefore = new QAction; _actionBefore = new QAction(this);
_toolBar->addAction(_actionBefore); _toolBar->addAction(_actionBefore);
// Adds space between users + activities and general + network actions // Adds space between users + activities and general + network actions