Commit 35e9cd84 authored by Jekyll Wu's avatar Jekyll Wu

Enable looking up colors in the X11 color database.

FEATURE:138740
FIXED-IN:4.9.0
parent 2f7a0965
......@@ -157,6 +157,10 @@ bool KDE3ColorSchemeReader::readTitleLine(const QString& line, ColorScheme* sche
ColorSchemeManager::ColorSchemeManager()
: _haveLoadedAll(false)
{
#ifdef Q_WS_X11
// Allow looking up colors in the X11 color database
QColor::setAllowX11ColorNames(true);
#endif
}
ColorSchemeManager::~ColorSchemeManager()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment