summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohannes Tröscher <fritz_van_tom@hotmail.com>2011-09-09 16:46:29 +0200
committerJohannes Tröscher <fritz_van_tom@hotmail.com>2011-09-09 16:46:29 +0200
commiteb9fe651a2b86a5f1a6870fd0b5f365ef18ab35e (patch)
treece4d737921e369809519ca554155251ebe8d8156 /src
parentrekonq 0.7.80 (diff)
downloadrekonq-eb9fe651a2b86a5f1a6870fd0b5f365ef18ab35e.tar.xz
set Qt::tooltip as tabPreviewPopups window flags
REVIEWED-BY: me
Diffstat (limited to 'src')
-rw-r--r--src/tabpreviewpopup.cpp2
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);
}