summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}