summaryrefslogtreecommitdiffstats
path: root/src/gui/styles/qgtkstyle.cpp
diff options
context:
space:
mode:
authorNorwegian Rock Cat <qt-info@nokia.com>2009-06-18 14:44:40 (GMT)
committerNorwegian Rock Cat <qt-info@nokia.com>2009-06-23 14:12:00 (GMT)
commit9205078f3b2d842735599fd74d6324a4d84bc275 (patch)
tree463912fffbb3848fbb0abf3b08f69f3be53799e5 /src/gui/styles/qgtkstyle.cpp
parent1b059b51b6d236ace4ec8c5203873caae250cf78 (diff)
downloadQt-9205078f3b2d842735599fd74d6324a4d84bc275.zip
Qt-9205078f3b2d842735599fd74d6324a4d84bc275.tar.gz
Qt-9205078f3b2d842735599fd74d6324a4d84bc275.tar.bz2
Clean up the font hash and palette hash stuff.
These are used enough (at least on the mac) to justify them being accessible in a private header. As a bonus it "hides" the actual container being used, so we could potentially sway it out with something different. Reviewed by: Jens Bache-Wiig
Diffstat (limited to 'src/gui/styles/qgtkstyle.cpp')
-rw-r--r--src/gui/styles/qgtkstyle.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/styles/qgtkstyle.cpp b/src/gui/styles/qgtkstyle.cpp
index 8499811..852d3fd 100644
--- a/src/gui/styles/qgtkstyle.cpp
+++ b/src/gui/styles/qgtkstyle.cpp
@@ -150,7 +150,6 @@ bool QGtkStyleFilter::eventFilter(QObject *obj, QEvent *e)
if (e->type() == QEvent::ApplicationPaletteChange) {
// Only do this the first time since this will also
// generate applicationPaletteChange events
- extern QHash<QByteArray, QPalette> *qt_app_palettes_hash(); //qapplication.cpp
if (!qt_app_palettes_hash() || qt_app_palettes_hash()->isEmpty()) {
QGtk::applyCustomPaletteHash();
}