diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-12-28 16:50:41 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-12-28 16:50:41 +0100 |
commit | faa7f72c417b4ccd9b794b32b988312186d62e59 (patch) | |
tree | 19a4db56f1526e073ce87a0c05a0923d5a6e442f /src/urlbar/resourcelinkdialog.cpp | |
parent | SVN_SILENT made messages (.desktop file) (diff) | |
download | rekonq-faa7f72c417b4ccd9b794b32b988312186d62e59.tar.xz |
Krazy Fixes, first shot
Diffstat (limited to 'src/urlbar/resourcelinkdialog.cpp')
-rw-r--r-- | src/urlbar/resourcelinkdialog.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/urlbar/resourcelinkdialog.cpp b/src/urlbar/resourcelinkdialog.cpp index 8a4b5685..b300c8ec 100644 --- a/src/urlbar/resourcelinkdialog.cpp +++ b/src/urlbar/resourcelinkdialog.cpp @@ -234,10 +234,12 @@ void Nepomuk::ResourceLinkDialog::showContextMenu(const QPoint &pos) void Nepomuk::ResourceLinkDialog::createNewResourceSlot() { - Nepomuk::NewResourceDialog newResource(d->m_resourceSelect->currentIndex(), d->m_nfoResource); - //close(); - newResource.exec(); + QPointer<Nepomuk::NewResourceDialog> r = new Nepomuk::NewResourceDialog(d->m_resourceSelect->currentIndex(), d->m_nfoResource); + r->exec(); + setRelatedResources(); + + r->deleteLater(); } |