Minimum hooking-up done, divelogs.de shows on menu-activation.

This patch does the hooking up to show the dialog of the
divelogs.de window when the user selects it on the menu.:

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
Tomaz Canabrava 2013-10-24 23:02:59 -02:00
parent 6cf875ed92
commit 7bea2e1be0
3 changed files with 9 additions and 1 deletions

View file

@ -269,7 +269,9 @@ static bool merge_locations_into_dives(void)
DivelogsDeWebServices* DivelogsDeWebServices::instance()
{
static DivelogsDeWebServices *self = new DivelogsDeWebServices();
self->setAttribute(Qt::WA_QuitOnClose, false);
return self;
}
DivelogsDeWebServices::DivelogsDeWebServices(QWidget* parent, Qt::WindowFlags f): WebServices(parent, f)