From bb18b98e9547b5187047ff8c30f707818e2936f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Wed, 7 Sep 2011 13:46:42 +0200 Subject: 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 Reviewed-by: Kent Hansen --- src/gui/painting/qcolor.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/gui/painting/qcolor.h') 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: -- cgit v1.2.3