summaryrefslogtreecommitdiff
path: root/svtools/source/dialogs/PlaceEditDialog.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-05-26 15:24:54 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-05-26 17:07:18 +0100
commit7417311fc0f888223ae05f1cfc750de1735c5c9e (patch)
tree9ab96564d186f05ace836821b7a4dce2af84b508 /svtools/source/dialogs/PlaceEditDialog.cxx
parent8cce65007b506da38ca79ee8b5cdd62a1460fddd (diff)
Resolves: tdf#96279 set correct parents for password dialogs
otherwise on Dialog::Execute before it becomes visible and a password dialog is needed the new dialog will automatically look for a parent, but will be parented by the main window because the dialog it should be a parent of is not visible yet. Change-Id: Ia34e43d7ef2b204b348f2eb5aab542ee8ffe840e
Diffstat (limited to 'svtools/source/dialogs/PlaceEditDialog.cxx')
-rw-r--r--svtools/source/dialogs/PlaceEditDialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/dialogs/PlaceEditDialog.cxx b/svtools/source/dialogs/PlaceEditDialog.cxx
index 137cec3c8448..c0543806d967 100644
--- a/svtools/source/dialogs/PlaceEditDialog.cxx
+++ b/svtools/source/dialogs/PlaceEditDialog.cxx
@@ -184,7 +184,7 @@ void PlaceEditDialog::InitDetails( )
nPos = m_pLBServerType->InsertEntry( aTypesNamesList[i], nPos );
- std::shared_ptr<DetailsContainer> xCmisDetails(std::make_shared<CmisDetailsContainer>(this, sUrl));
+ std::shared_ptr<DetailsContainer> xCmisDetails(std::make_shared<CmisDetailsContainer>(this, this, sUrl));
xCmisDetails->setChangeHdl( LINK( this, PlaceEditDialog, EditHdl ) );
m_aDetailsContainers.push_back(xCmisDetails);