kweather sidebar: correctly initialize variables. This fixes issue #15.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/16/head
Michele Calgaro 3 years ago
parent 1c542ac6cc
commit 949893d7e4
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -34,7 +34,7 @@
#include <dcopref.h> #include <dcopref.h>
sidebarwidget::sidebarwidget(TQWidget* parent, const char* name) sidebarwidget::sidebarwidget(TQWidget* parent, const char* name)
: TQWidget(parent,name) : TQWidget(parent,name), settingsDialog(0)
{ {
mainLayout = new TQVBoxLayout(this); mainLayout = new TQVBoxLayout(this);

@ -50,7 +50,7 @@ Q_OBJECT
private: private:
DCOPRef *dcopCall; DCOPRef *dcopCall;
KCMultiDialog *settingsDialog = 0; KCMultiDialog *settingsDialog;
}; };

Loading…
Cancel
Save