mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
use a vertical gradient like in KDE 4.3
svn path=/trunk/KDE/kdebase/apps/; revision=1045823
This commit is contained in:
parent
18a2989794
commit
2636ba3c03
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ void KToolTipWindow::paintEvent(QPaintEvent* event)
|
|||
fromColor.setAlpha(220);
|
||||
}
|
||||
|
||||
QLinearGradient gradient(QPointF(0.0, 0.0), QPointF(width(), height()));
|
||||
QLinearGradient gradient(QPointF(0.0, 0.0), QPointF(0.0, height()));
|
||||
gradient.setColorAt(0.0, fromColor);
|
||||
gradient.setColorAt(1.0, toColor);
|
||||
painter.setPen(Qt::NoPen);
|
||||
|
|
Loading…
Reference in a new issue