summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Klapetek <[email protected]>2015-09-11 15:00:58 -0400
committerMartin Klapetek <[email protected]>2015-09-11 15:00:58 -0400
commitc3e7fca0a67c66c766b1c48fb12baa9b5aca0eeb (patch)
treefe27e0bd296b0fe04e9ac40cbd46e5a3f92deaca
parentabca3e91a7baec1ec5ae1a8c49f0804974b06e34 (diff)
[owncloud] Set the transient parent for the window
Now it gets proper focus and everything
-rw-r--r--owncloud.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/owncloud.cpp b/owncloud.cpp
index 7e3ea36..877627c 100644
--- a/owncloud.cpp
+++ b/owncloud.cpp
@@ -129,6 +129,7 @@ void OwnCloudWizard::showNewAccountDialog()
// }
QWindow *window = qobject_cast<QWindow *>(m_object->rootObject());
if (window) {
+ window->setTransientParent(transientParent());
window->show();
window->requestActivate();
window->setTitle(m_object->package().metadata().name());