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
commit5624f3f1548d98b0d70909ceadbd5e57eab4bb07 (patch)
tree0c5155d69dd8777dc08959e6f1d27ba4baadfa75
parent43015ac94257ba37fe0106ea95729b824991378b (diff)
[owncloud] Set the transient parent for the window
Now it gets proper focus and everything
-rw-r--r--src/owncloud/owncloud.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/owncloud/owncloud.cpp b/src/owncloud/owncloud.cpp
index 7e3ea36..877627c 100644
--- a/src/owncloud/owncloud.cpp
+++ b/src/owncloud/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());