summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qcombobox_p.h
diff options
context:
space:
mode:
authorNorwegian Rock Cat <qt-info@nokia.com>2009-04-08 11:02:19 (GMT)
committerNorwegian Rock Cat <qt-info@nokia.com>2009-04-08 11:02:19 (GMT)
commit7edc2b05cfdf143c7f8ac444f93db918a5fd5344 (patch)
tree2ebe613b25e4b1af938b335d889157e005c63895 /src/gui/widgets/qcombobox_p.h
parent470196c06f573a93e3229735496659eb99ca5b51 (diff)
downloadQt-7edc2b05cfdf143c7f8ac444f93db918a5fd5344.zip
Qt-7edc2b05cfdf143c7f8ac444f93db918a5fd5344.tar.gz
Qt-7edc2b05cfdf143c7f8ac444f93db918a5fd5344.tar.bz2
Refactor the palette and opacity change into a separate function.
We can save on some creation and only show the container when we really need to. It does mean that we need to ensure that everything is correct on construction as well. It's now factored into another file. Reviewed-by: Jens Bache-Wiig
Diffstat (limited to 'src/gui/widgets/qcombobox_p.h')
-rw-r--r--src/gui/widgets/qcombobox_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/widgets/qcombobox_p.h b/src/gui/widgets/qcombobox_p.h
index c39a231..a0b76cf 100644
--- a/src/gui/widgets/qcombobox_p.h
+++ b/src/gui/widgets/qcombobox_p.h
@@ -370,6 +370,7 @@ public:
void updateDelegate();
void keyboardSearchString(const QString &text);
void modelChanged();
+ void updateViewContainerPaletteAndOpacity();
QAbstractItemModel *model;
QLineEdit *lineEdit;