mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-20 08:38:40 +02:00
Use WindowModality for dialogs
This commit is contained in:
@@ -113,4 +113,10 @@ ClickableLabel::~ClickableLabel() = default;
|
||||
|
||||
void ClickableLabel::mousePressEvent(QMouseEvent* event) {
|
||||
emit clicked();
|
||||
}
|
||||
|
||||
WindowModalDialog::WindowModalDialog(QWidget *parent)
|
||||
: QDialog(parent)
|
||||
{
|
||||
this->setWindowModality(Qt::WindowModal);
|
||||
}
|
||||
Reference in New Issue
Block a user