summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2018-11-15 12:02:22 +0100
committerSimon Rettberg2018-11-15 12:02:22 +0100
commit1f830a3de147bc70eaa83514e4710e09c3a9c86d (patch)
treeae724dea9fad4d478bf92e9e860c4780434cd11d
parentHandle unsupported protocols (diff)
downloadslxbrowser-1f830a3de147bc70eaa83514e4710e09c3a9c86d.tar.gz
slxbrowser-1f830a3de147bc70eaa83514e4710e09c3a9c86d.tar.xz
slxbrowser-1f830a3de147bc70eaa83514e4710e09c3a9c86d.zip
Set proper parent window for message box
-rw-r--r--src/slxbrowser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slxbrowser.cpp b/src/slxbrowser.cpp
index 02a3d50..0690102 100644
--- a/src/slxbrowser.cpp
+++ b/src/slxbrowser.cpp
@@ -94,7 +94,7 @@ void SLXbrowser::loadFinished(bool ok)
_reset.start(_reloadIntervalMs);
}
if (_unsupportedUri && !ok) {
- QMessageBox::warning(this->parentWidget(), QString::fromUtf8("Denied"),
+ QMessageBox::warning(this, QString::fromUtf8("Denied"),
QString::fromUtf8("This URL type is not supported.\n\n"
"Diese Art Link wird nicht unterstützt.\n\n"
"(z.B. Mail)"));