diff --git a/mainwindow.cpp b/mainwindow.cpp index 910fc96..4a030a5 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -19,7 +19,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) { - this->setWindowFlags(Qt::Window | Qt::FramelessWindowHint); + this->setWindowFlags(Qt::Window | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint); this->setAttribute(Qt::WA_TranslucentBackground, true); this->setMinimumSize(710, 530); this->setWindowIcon(QIcon(":/icons/app-icon.svg"));