From 65f9e84a61f6eac570eab06ff74c10f3120228f6 Mon Sep 17 00:00:00 2001 From: ArsenArsen Date: Sat, 12 Aug 2017 00:47:38 +0200 Subject: [PATCH] This actually fixed it --- cropeditor/cropview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cropeditor/cropview.cpp b/cropeditor/cropview.cpp index a10e72d..7568d0f 100644 --- a/cropeditor/cropview.cpp +++ b/cropeditor/cropview.cpp @@ -4,7 +4,7 @@ CropView::CropView(QGraphicsScene *scene) : QGraphicsView(scene) { setFrameShape(QFrame::NoFrame); // Time taken to solve: A george99g and 38 minutes. setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); - setWindowFlags(windowFlags() | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint | Qt::Popup); + setWindowFlags(windowFlags() | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint | Qt::Dialog); setRenderHints(QPainter::Antialiasing | QPainter::SmoothPixmapTransform | QPainter::HighQualityAntialiasing); setCursor(QCursor(Qt::CrossCursor)); setMouseTracking(true);