diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-11-01 11:28:30 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-11-01 11:32:10 +0900 |
commit | 949893d7e4af5286f75d9320b54a52a0cf6e77fb (patch) | |
tree | 5f06834a09ab1ccdb7fb50e7d059a9d76f3ab2dd | |
parent | 1c542ac6ccae44fac8fa5d122fe5317c65a64410 (diff) | |
download | tdetoys-949893d7e4af5286f75d9320b54a52a0cf6e77fb.tar.gz tdetoys-949893d7e4af5286f75d9320b54a52a0cf6e77fb.zip |
kweather sidebar: correctly initialize variables. This fixes issue #15.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | kweather/sidebarwidget.cpp | 2 | ||||
-rw-r--r-- | kweather/sidebarwidget.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kweather/sidebarwidget.cpp b/kweather/sidebarwidget.cpp index 45a97fd..792d4a4 100644 --- a/kweather/sidebarwidget.cpp +++ b/kweather/sidebarwidget.cpp @@ -34,7 +34,7 @@ #include <dcopref.h> sidebarwidget::sidebarwidget(TQWidget* parent, const char* name) - : TQWidget(parent,name) + : TQWidget(parent,name), settingsDialog(0) { mainLayout = new TQVBoxLayout(this); diff --git a/kweather/sidebarwidget.h b/kweather/sidebarwidget.h index a45139e..7778cff 100644 --- a/kweather/sidebarwidget.h +++ b/kweather/sidebarwidget.h @@ -50,7 +50,7 @@ Q_OBJECT private: DCOPRef *dcopCall; - KCMultiDialog *settingsDialog = 0; + KCMultiDialog *settingsDialog; }; |