summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qcolor.h
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2011-09-07 13:46:42 +0200
committerSamuel Rødal <samuel.rodal@nokia.com>2011-09-07 14:02:41 +0200
commitbb18b98e9547b5187047ff8c30f707818e2936f0 (patch)
tree897aaa11fdc14105a4987df21f2e27fbb9bd1402 /src/gui/painting/qcolor.h
parent99414a3b4ee01a7e3427a40449603b5c3c4138cc (diff)
Get rid of QColor::allowX11ColorNames().
This code is no longer in use. Change-Id: I1e582b8a5f1fad40ef75e412162f3aa9f10ab535 Reviewed-on: http://codereview.qt.nokia.com/4352 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
Diffstat (limited to 'src/gui/painting/qcolor.h')
-rw-r--r--src/gui/painting/qcolor.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gui/painting/qcolor.h b/src/gui/painting/qcolor.h
index 1dd6c2a099..460a43183f 100644
--- a/src/gui/painting/qcolor.h
+++ b/src/gui/painting/qcolor.h
@@ -203,11 +203,6 @@ public:
operator QVariant() const;
-#ifdef Q_WS_X11
- static bool allowX11ColorNames();
- static void setAllowX11ColorNames(bool enabled);
-#endif
-
static bool isValidColor(const QString &name);
private: