summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp3
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
250void StockTickerPluginWidget::timerEvent( QTimerEvent *e ) { 250void 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}