From 24fcbd6f0c0c80d50849ad406957bfd1e967e4f2 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Thu, 9 Sep 2010 13:04:02 +0000 Subject: [PATCH] Set url color from system theme. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35333 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/ColorCache.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/frontends/qt4/ColorCache.cpp b/src/frontends/qt4/ColorCache.cpp index 32b602c2eb..9c5adb4f65 100644 --- a/src/frontends/qt4/ColorCache.cpp +++ b/src/frontends/qt4/ColorCache.cpp @@ -48,6 +48,9 @@ QPalette::ColorRole role(ColorCode col) case Color_selectiontext: return QPalette::HighlightedText; break; + case Color_urllabel: + case Color_urltext: + return QPalette::Link; default: return NoRole; }