author | llornkcor <llornkcor> | 2002-11-05 13:32:56 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-11-05 13:32:56 (UTC) |
commit | 320c8020a112dff1bc1d43bee9b103a423e0ac35 (patch) (side-by-side diff) | |
tree | 1de3fdcdfe26c9555d4356a18702f274a1217422 | |
parent | 0750e839e1d10069dbde7e669a345800f0ec088f (diff) | |
download | opie-320c8020a112dff1bc1d43bee9b103a423e0ac35.zip opie-320c8020a112dff1bc1d43bee9b103a423e0ac35.tar.gz opie-320c8020a112dff1bc1d43bee9b103a423e0ac35.tar.bz2 |
dont trust Qt to initialize QStrings correctly always
-rw-r--r-- | noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp | 3 | ||||
-rw-r--r-- | noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h | 1 |
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 @@ -240,6 +240,5 @@ void StockTickerPluginWidget::doStocks() { Config cfg( "stockticker"); cfg.setGroup( "Symbols" ); - QString symbollist; - symbollist = cfg.readEntry("Symbols", ""); + symbollist=""; symbollist = cfg.readEntry("Symbols", ""); symbollist.replace(QRegExp(" "),"+");//seperated by + 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 @@ -51,4 +51,5 @@ protected slots: void checkConnection(); private: + QString symbollist; bool wasError; QSocket *Sock; |