[Pkg-owncloud-commits] [owncloud-client] 11/27: SettingsDialog: Fix typo in showFirstPage()

Sandro Knauß hefee-guest at moszumanska.debian.org
Fri Aug 28 09:43:44 UTC 2015


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 0711a2fc125c542f1121b2056cf554129695571b
Author: Christian Kamm <mail at ckamm.de>
Date:   Thu Aug 20 11:57:44 2015 +0200

    SettingsDialog: Fix typo in showFirstPage()
---
 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 e8afdb3..a87e3b5 100644
--- a/src/gui/settingsdialog.cpp
+++ b/src/gui/settingsdialog.cpp
@@ -174,7 +174,7 @@ void SettingsDialog::showFirstPage()
         if (QWidgetAction *wa = qobject_cast<QWidgetAction*>(action)) {
             if (QToolButton *qtb = qobject_cast<QToolButton*>(wa->defaultWidget())) {
                 if (QAction *a2 = qtb->defaultAction()) {
-                    qtb->defaultAction()->trigger();
+                    a2->trigger();
                     break;
                 }
             }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list