summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-11-05 13:32:56 (UTC)
committer llornkcor <llornkcor>2002-11-05 13:32:56 (UTC)
commit320c8020a112dff1bc1d43bee9b103a423e0ac35 (patch) (unidiff)
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
@@ -239,8 +239,7 @@ void StockTickerPluginWidget::init() {
239void StockTickerPluginWidget::doStocks() { 239void StockTickerPluginWidget::doStocks() {
240 Config cfg( "stockticker"); 240 Config cfg( "stockticker");
241 cfg.setGroup( "Symbols" ); 241 cfg.setGroup( "Symbols" );
242 QString symbollist; 242 symbollist="";
243 symbollist = cfg.readEntry("Symbols", "");
244 symbollist = cfg.readEntry("Symbols", ""); 243 symbollist = cfg.readEntry("Symbols", "");
245 symbollist.replace(QRegExp(" "),"+");//seperated by + 244 symbollist.replace(QRegExp(" "),"+");//seperated by +
246 245
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
@@ -50,6 +50,7 @@ protected slots:
50 void socketError(int); 50 void socketError(int);
51 void checkConnection(); 51 void checkConnection();
52private: 52private:
53 QString symbollist;
53 bool wasError; 54 bool wasError;
54 QSocket *Sock; 55 QSocket *Sock;
55 void timerEvent( QTimerEvent * ); 56 void timerEvent( QTimerEvent * );