From e5667a915dd64ef15cd66a3b295950a64e698ecb Mon Sep 17 00:00:00 2001 From: defnax Date: Thu, 13 May 2010 12:11:03 +0000 Subject: [PATCH] fixed bug with ShareDialog loading git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2894 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/ShareManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/retroshare-gui/src/gui/ShareManager.cpp b/retroshare-gui/src/gui/ShareManager.cpp index 9c4e1f95d..68bd52e52 100644 --- a/retroshare-gui/src/gui/ShareManager.cpp +++ b/retroshare-gui/src/gui/ShareManager.cpp @@ -289,6 +289,6 @@ void ShareManager::showEvent(QShowEvent *event) void ShareManager::showShareDialog() { - static ShareDialog *sharedlg = new ShareDialog(this); - sharedlg->show(); + ShareDialog sharedlg (this); + sharedlg.exec(); }