summaryrefslogtreecommitdiffstats
path: root/qt-ui/simplewidgets.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-06-19 18:45:26 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-20 15:43:10 -0700
commitbe462ae1a61312fd6b625e00e35c1622bc006f41 (patch)
treec8f52191c606084ea516b97fef5a4325e87ab663 /qt-ui/simplewidgets.h
parentf3f03e2ee89a55947a10c2a08ebf6dfa49a393b0 (diff)
downloadsubsurface-be462ae1a61312fd6b625e00e35c1622bc006f41.tar.gz
Change the Star Widget to use QImage instead of QPixmap
Also, clean a few calls, this should make the widget a tiny bit faster. This patch also moves the grayImage function from the star widget to the global scope, so I can use it on the Calendar widget. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/simplewidgets.h')
-rw-r--r--qt-ui/simplewidgets.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/simplewidgets.h b/qt-ui/simplewidgets.h
index 6587c2739..b8cb8aed4 100644
--- a/qt-ui/simplewidgets.h
+++ b/qt-ui/simplewidgets.h
@@ -111,5 +111,6 @@ private:
};
bool isGnome3Session();
+QImage grayImage(const QImage& coloredImg);
#endif // SIMPLEWIDGETS_H