Window on top again

This commit is contained in:
ArsenArsen 2017-05-01 12:04:59 +02:00
parent c75174182e
commit 92219c3a35

View File

@ -5,7 +5,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(Qt::WindowStaysOnTopHint | Qt::CustomizeWindowHint);
setWindowFlags(Qt::WindowStaysOnTopHint | Qt::CustomizeWindowHint);
}
void CropView::keyPressEvent(QKeyEvent *e)