summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-12-08 11:01:50 (GMT)
committeraxis <qt-info@nokia.com>2009-12-08 11:01:50 (GMT)
commitc8ab564be91deb72e4d3ab0d9ea46ad2ce608d90 (patch)
tree1c7f2a321428ea8f09abfcac66c5cebc1991befc /src/gui/widgets
parent85cd6e646376af5828e66d9df1812759fcf55f03 (diff)
parent854d8960b98a691094ac51ad69b60d6a3a798ac2 (diff)
downloadQt-c8ab564be91deb72e4d3ab0d9ea46ad2ce608d90.zip
Qt-c8ab564be91deb72e4d3ab0d9ea46ad2ce608d90.tar.gz
Qt-c8ab564be91deb72e4d3ab0d9ea46ad2ce608d90.tar.bz2
Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt-s60-public into 4.6-staging2
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/qdialogbuttonbox.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/widgets/qdialogbuttonbox.cpp b/src/gui/widgets/qdialogbuttonbox.cpp
index 47ddc52..f2ef941 100644
--- a/src/gui/widgets/qdialogbuttonbox.cpp
+++ b/src/gui/widgets/qdialogbuttonbox.cpp
@@ -266,6 +266,7 @@ public:
QDialogButtonEnabledProxy(QObject *parent, QWidget *src, QAction *trg) : QObject(parent), source(src), target(trg)
{
source->installEventFilter(this);
+ target->setEnabled(source->isEnabled());
}
~QDialogButtonEnabledProxy()
{