summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@nokia.com>2009-11-25 11:15:27 (GMT)
committerAlessandro Portale <alessandro.portale@nokia.com>2009-11-25 11:15:27 (GMT)
commit800ad1c685060bfb6f469a506e8cd85ff3d81577 (patch)
tree7ea2710e16cf61c32498e7d0101c2ea290542838 /src/gui
parent339a11182a3e64c9cfbd8082622b5920c90c99c5 (diff)
downloadQt-800ad1c685060bfb6f469a506e8cd85ff3d81577.zip
Qt-800ad1c685060bfb6f469a506e8cd85ff3d81577.tar.gz
Qt-800ad1c685060bfb6f469a506e8cd85ff3d81577.tar.bz2
Removed unused setThemePalette(QStyleOption *option)
Not used or missed, anywhere. Reviewed-By: Trustme
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/styles/qs60style.cpp5
-rw-r--r--src/gui/styles/qs60style_p.h2
2 files changed, 0 insertions, 7 deletions
diff --git a/src/gui/styles/qs60style.cpp b/src/gui/styles/qs60style.cpp
index b5c0d4f..03f7a95 100644
--- a/src/gui/styles/qs60style.cpp
+++ b/src/gui/styles/qs60style.cpp
@@ -459,11 +459,6 @@ void QS60StylePrivate::setThemePalette(QApplication *app) const
storeThemePalette(&widgetPalette);
}
-void QS60StylePrivate::setThemePalette(QStyleOption *option) const
-{
- setThemePalette(&option->palette);
-}
-
QPalette* QS60StylePrivate::themePalette()
{
return m_themePalette;
diff --git a/src/gui/styles/qs60style_p.h b/src/gui/styles/qs60style_p.h
index ea86bb2..36979a2 100644
--- a/src/gui/styles/qs60style_p.h
+++ b/src/gui/styles/qs60style_p.h
@@ -418,8 +418,6 @@ public:
//set theme palette for application
void setThemePalette(QApplication *application) const;
- //set theme palette for style option
- void setThemePalette(QStyleOption *option) const;
//access to theme palette
static QPalette* themePalette();