diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2021-08-12 13:34:24 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2021-08-12 15:37:59 +0300 |
commit | 84f720450d5403de94051b32bc819c2524529d41 (patch) | |
tree | 4d8c4dc84a642ff9f04404d8ee0dbb7d3932e7d3 /src/gui/owncloudgui.cpp | |
parent | 5835eccc9037a9918de6eec47f3b41a9f9ed332e (diff) |
Modern connect
Diffstat (limited to 'src/gui/owncloudgui.cpp')
-rw-r--r-- | src/gui/owncloudgui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/owncloudgui.cpp b/src/gui/owncloudgui.cpp index 77e4decb1..c99a09c00 100644 --- a/src/gui/owncloudgui.cpp +++ b/src/gui/owncloudgui.cpp @@ -784,7 +784,7 @@ void ownCloudGui::setupActions() _actionAbout = new QAction(tr("About %1").arg(Theme::instance()->appNameGUI()), this); QObject::connect(_actionAbout, &QAction::triggered, this, &ownCloudGui::slotAbout); _actionQuit = new QAction(tr("Quit %1").arg(Theme::instance()->appNameGUI()), this); - QObject::connect(_actionQuit, SIGNAL(triggered(bool)), _app, SLOT(quit())); + QObject::connect(_actionQuit, &QAction::triggered, _app, &QApplication::quit); _actionLogin = new QAction(tr("Log in..."), this); connect(_actionLogin, &QAction::triggered, this, &ownCloudGui::slotLogin); |