summaryrefslogtreecommitdiff
path: root/src/urlbar.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-07-28 22:41:37 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-07-28 22:41:37 +0200
commit3603173d242138550997cbc084f21883b97aa4e2 (patch)
tree9a912ec2f46462c6b565043c19f3a79e7a5e016d /src/urlbar.cpp
parentMerge branch 'CLEAR' (diff)
parentRemoved Web Inspecting color (diff)
downloadrekonq-3603173d242138550997cbc084f21883b97aa4e2.tar.xz
Merge branch 'PrivateColor'
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