summaryrefslogtreecommitdiffstats
path: root/src/widgets/dialogs/qwizard_win_p.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2013-01-14 11:22:54 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-14 21:43:12 +0100
commit273713b81f5e580748c281c17e08e8b3e2e8ee70 (patch)
tree94f0a6ec0405b18ae172aa17d61ac1114221a3c4 /src/widgets/dialogs/qwizard_win_p.h
parentdc131e3a5378d84026941e6626db524688b988f4 (diff)
Fix QVistaHelper::disconnectBackButton().
Restrict disconnect() to the clicked() signal, leaving connections to destroyed() (as used by QStyleSheetStyle) intact. Task-number: QTBUG-20292 Change-Id: I7471b4d1262ec0684e4446b5c17513717c502749 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/widgets/dialogs/qwizard_win_p.h')
-rw-r--r--src/widgets/dialogs/qwizard_win_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/dialogs/qwizard_win_p.h b/src/widgets/dialogs/qwizard_win_p.h
index 4dbb71f94b..11dd1f2824 100644
--- a/src/widgets/dialogs/qwizard_win_p.h
+++ b/src/widgets/dialogs/qwizard_win_p.h
@@ -95,7 +95,7 @@ public:
void resizeEvent(QResizeEvent *event);
void paintEvent(QPaintEvent *event);
QVistaBackButton *backButton() const { return backButton_; }
- void disconnectBackButton() { if (backButton_) backButton_->disconnect(); }
+ void disconnectBackButton();
void hideBackButton() { if (backButton_) backButton_->hide(); }
QColor basicWindowFrameColor();
enum VistaState { VistaAero, VistaBasic, Classic, Dirty };