summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-11-05 13:32:56 (UTC)
committer llornkcor <llornkcor>2002-11-05 13:32:56 (UTC)
commit320c8020a112dff1bc1d43bee9b103a423e0ac35 (patch) (side-by-side diff)
tree1de3fdcdfe26c9555d4356a18702f274a1217422
parent0750e839e1d10069dbde7e669a345800f0ec088f (diff)
downloadopie-320c8020a112dff1bc1d43bee9b103a423e0ac35.zip
opie-320c8020a112dff1bc1d43bee9b103a423e0ac35.tar.gz
opie-320c8020a112dff1bc1d43bee9b103a423e0ac35.tar.bz2
dont trust Qt to initialize QStrings correctly always
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp3
-rw-r--r--noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h1
2 files changed, 2 insertions, 2 deletions
diff --git a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp
index 45c5c53..2f35f7f 100644
--- a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp
+++ b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp
@@ -241,4 +241,3 @@ void StockTickerPluginWidget::doStocks() {
cfg.setGroup( "Symbols" );
- QString symbollist;
- symbollist = cfg.readEntry("Symbols", "");
+ symbollist="";
symbollist = cfg.readEntry("Symbols", "");
diff --git a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h
index 970a561..8776bff 100644
--- a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h
+++ b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h
@@ -52,2 +52,3 @@ protected slots:
private:
+ QString symbollist;
bool wasError;