diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-07-28 22:41:37 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-07-28 22:41:37 +0200 |
commit | 3603173d242138550997cbc084f21883b97aa4e2 (patch) | |
tree | 9a912ec2f46462c6b565043c19f3a79e7a5e016d /src/urlbar.cpp | |
parent | Merge branch 'CLEAR' (diff) | |
parent | Removed Web Inspecting color (diff) | |
download | rekonq-3603173d242138550997cbc084f21883b97aa4e2.tar.xz |
Merge branch 'PrivateColor'
Diffstat (limited to 'src/urlbar.cpp')
-rw-r--r-- | src/urlbar.cpp | 6 |
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 |