summaryrefslogtreecommitdiff
path: root/src/urlbar.cpp
diff options
context:
space:
mode:
authormegabigbug <megabigbug@arrakis.(none)>2009-07-27 18:47:30 +0200
committermegabigbug <megabigbug@arrakis.(none)>2009-07-27 18:47:30 +0200
commit132629199fa69a07650d5dac31d7751c8e73ba8c (patch)
tree0935f07b35cc1ff7e81392e50a068ac8186d0622 /src/urlbar.cpp
parentUpdated TODO (diff)
downloadrekonq-132629199fa69a07650d5dac31d7751c8e73ba8c.tar.xz
Add a setBackgroundColor to urlbar
Change the urlbar color by the window color when private browsing Change the urlbar color by a light red color when web inspector activated
Diffstat (limited to 'src/urlbar.cpp')
-rw-r--r--src/urlbar.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/urlbar.cpp b/src/urlbar.cpp
index af336e1c..ba9773db 100644
--- a/src/urlbar.cpp
+++ b/src/urlbar.cpp
@@ -258,3 +258,9 @@ QLinearGradient UrlBar::generateGradient(const QColor &color, int height)
gradient.setColorAt(1, base);
return gradient;
}
+
+void UrlBar::setBackgroundColor(QColor c)
+{
+ s_defaultBaseColor=c;
+ repaint();
+} \ No newline at end of file