From 09d3aa09d128e1eb176601f4837142d10b691d50 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 2 Feb 2015 16:25:36 +0100 Subject: Stay on top --- src/widget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/widget.cpp b/src/widget.cpp index 431b0b4..c418d0e 100644 --- a/src/widget.cpp +++ b/src/widget.cpp @@ -198,7 +198,7 @@ Widget::Widget(QWidget *parent) : _ui->comboBox->setCurrentIndex(index); // Remove borders and stuff - setWindowFlags(windowFlags() | Qt::FramelessWindowHint); + setWindowFlags(windowFlags() | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint | Qt::X11BypassWindowManagerHint); //setStyleSheet("background:transparent;"); //setAttribute(Qt::WA_TranslucentBackground); -- cgit v1.2.3-55-g7522