diff options
author | Johannes Tröscher <fritz_van_tom@hotmail.com> | 2011-09-09 16:46:29 +0200 |
---|---|---|
committer | Johannes Tröscher <fritz_van_tom@hotmail.com> | 2011-09-09 16:46:29 +0200 |
commit | eb9fe651a2b86a5f1a6870fd0b5f365ef18ab35e (patch) | |
tree | ce4d737921e369809519ca554155251ebe8d8156 /src | |
parent | rekonq 0.7.80 (diff) | |
download | rekonq-eb9fe651a2b86a5f1a6870fd0b5f365ef18ab35e.tar.xz |
set Qt::tooltip as tabPreviewPopups window flags
REVIEWED-BY: me
Diffstat (limited to 'src')
-rw-r--r-- | src/tabpreviewpopup.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tabpreviewpopup.cpp b/src/tabpreviewpopup.cpp index b2bd6215..2a35a63e 100644 --- a/src/tabpreviewpopup.cpp +++ b/src/tabpreviewpopup.cpp @@ -75,8 +75,10 @@ TabPreviewPopup::TabPreviewPopup(WebTab* tab, QWidget* parent) // adjust foreground color to use tooltip colors p.setColor(foregroundRole(), p.color(QPalette::ToolTipText)); p.setColor(QPalette::Text, p.color(QPalette::ToolTipText)); + setPalette(p); setWindowOpacity(transparency); + setWindowFlags(Qt::ToolTip); setWebTab(tab); } |