author | llornkcor <llornkcor> | 2002-11-01 17:09:20 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-11-01 17:09:20 (UTC) |
commit | 47d6a3119a7b46d25ce35fb2abda9c2bf3fa3f69 (patch) (unidiff) | |
tree | 5218237e5668bac0e6c60f098f40d24e1784594d | |
parent | 800932401b86a43cd52f9cbc2833b2795d1c955b (diff) | |
download | opie-47d6a3119a7b46d25ce35fb2abda9c2bf3fa3f69.zip opie-47d6a3119a7b46d25ce35fb2abda9c2bf3fa3f69.tar.gz opie-47d6a3119a7b46d25ce35fb2abda9c2bf3fa3f69.tar.bz2 |
fix
-rw-r--r-- | noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp index e178338..cc1bbbb 100644 --- a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp +++ b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp | |||
@@ -235,21 +235,22 @@ void StockTickerPluginWidget::DefProxy(void) { | |||
235 | proxy = getenv("http_proxy"); | 235 | proxy = getenv("http_proxy"); |
236 | if(proxy) { | 236 | if(proxy) { |
237 | /* printf("proxy set\n"); */ | 237 | /* printf("proxy set\n"); */ |
238 | error = set_proxy(proxy); | 238 | error = set_proxy(proxy); |
239 | if (error) { | 239 | if (error) { |
240 | // printf("Proxy error (%d)\n", error); | 240 | // printf("Proxy error (%d)\n", error); |
241 | QString tempString; | 241 | QString tempString; |
242 | tempString.sprintf("Proxy error (%d)\n", error); | 242 | tempString.sprintf("Proxy error (%d)\n", error); |
243 | output = tempString; | 243 | output = tempString; |
244 | return; | 244 | return; |
245 | // exit(1); | 245 | // exit(1); |
246 | } | 246 | } |
247 | } | 247 | } |
248 | } | 248 | } |
249 | 249 | ||
250 | void StockTickerPluginWidget::timerEvent( QTimerEvent *e ) { | 250 | void StockTickerPluginWidget::timerEvent( QTimerEvent *e ) { |
251 | qDebug("timer"); | ||
251 | killTimer(e->timerId()); | 252 | killTimer(e->timerId()); |
252 | doStocks(); | 253 | doStocks(); |
253 | if(timerDelay > 0) | 254 | if(timerDelay > 0) |
254 | startTimer(timerDelay*1000); | 255 | startTimer(timerDelay*60000); |
255 | } | 256 | } |