When you don't actually stage

This commit is contained in:
ArsenArsen 2017-05-31 23:46:27 +02:00
parent b064f795ff
commit 6128ac40b5

View File

@ -10,7 +10,7 @@ ScreenAreaSelector::ScreenAreaSelector() {
setAttribute(Qt::WA_TranslucentBackground); setAttribute(Qt::WA_TranslucentBackground);
setAttribute(Qt::WA_DeleteOnClose); setAttribute(Qt::WA_DeleteOnClose);
setStyleSheet("background-color: rgba(0, 0, 0, 0.5);"); setStyleSheet("background-color: rgba(0, 0, 0, 0.5);");
setWindowTitle("KShare: Select Area (By resizig this window)"); setWindowTitle("KShare: Select Area (By resizing this window)");
QTimer::singleShot(0, [&] { QTimer::singleShot(0, [&] {
QVariant val = settings::settings().value("screenareaselector/rect"); QVariant val = settings::settings().value("screenareaselector/rect");
if (val.canConvert<QRect>()) { if (val.canConvert<QRect>()) {