Commit e822b05d authored by Lukas Hetzenecker's avatar Lukas Hetzenecker Committed by David Edmundson

Allow shrinking of dialog

This sets a `minimumSize` for the `KSImageWidget`, which allows the
dialog to be shrunken again, after it was expanded.

BUG: 376387
parent 1288a6f2
......@@ -32,6 +32,7 @@ KSImageWidget::KSImageWidget(QWidget *parent):
setGraphicsEffect(mDSEffect);
setCursor(Qt::OpenHandCursor);
setAlignment(Qt::AlignCenter);
setMinimumSize(size());
}
void KSImageWidget::setScreenshot(const QPixmap &pixmap)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment