summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/painting/qcolormap_s60.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gui/painting/qcolormap_s60.cpp b/src/gui/painting/qcolormap_s60.cpp
index c21eba9..1b58598 100644
--- a/src/gui/painting/qcolormap_s60.cpp
+++ b/src/gui/painting/qcolormap_s60.cpp
@@ -53,22 +53,18 @@ public:
QAtomicInt ref;
};
-static QColormap *qt_symbian_color_map = 0;
void QColormap::initialize()
{
- qt_symbian_color_map = new QColormap;
}
void QColormap::cleanup()
{
- delete qt_symbian_color_map;
- qt_symbian_color_map = 0;
}
QColormap QColormap::instance(int)
{
- return *qt_symbian_color_map;
+ return QColormap();
}
QColormap::QColormap() : d(new QColormapPrivate)