author | llornkcor <llornkcor> | 2002-11-05 13:51:30 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-11-05 13:51:30 (UTC) |
commit | 86d934b18fb8878b80f6c5e7d66453adb90b08a0 (patch) (unidiff) | |
tree | 56d807f1155dbf9b4f5a828b6ab5ba43e7e532e4 | |
parent | 320c8020a112dff1bc1d43bee9b103a423e0ac35 (diff) | |
download | opie-86d934b18fb8878b80f6c5e7d66453adb90b08a0.zip opie-86d934b18fb8878b80f6c5e7d66453adb90b08a0.tar.gz opie-86d934b18fb8878b80f6c5e7d66453adb90b08a0.tar.bz2 |
remove commentedout code
-rw-r--r-- | noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp index 2f35f7f..18c9e51 100644 --- a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp +++ b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp | |||
@@ -229,9 +229,9 @@ StockTickerPluginWidget::~StockTickerPluginWidget() { | |||
229 | void StockTickerPluginWidget::init() { | 229 | void StockTickerPluginWidget::init() { |
230 | 230 | ||
231 | QHBoxLayout* layout = new QHBoxLayout( this ); | 231 | QHBoxLayout* layout = new QHBoxLayout( this ); |
232 | stocktickerTicker = new OTicker(this); | 232 | stocktickerTicker = new OTicker(this); |
233 | stocktickerTicker->setMinimumHeight(15); | 233 | // stocktickerTicker->setMinimumHeight(15); |
234 | connect( stocktickerTicker, SIGNAL( mousePressed()), this, SLOT( checkConnection() )); | 234 | connect( stocktickerTicker, SIGNAL( mousePressed()), this, SLOT( checkConnection() )); |
235 | layout->addWidget( stocktickerTicker); | 235 | layout->addWidget( stocktickerTicker); |
236 | wasError = true; | 236 | wasError = true; |
237 | } | 237 | } |
@@ -251,29 +251,8 @@ void StockTickerPluginWidget::doStocks() { | |||
251 | // pthread_join(thread1,NULL); | 251 | // pthread_join(thread1,NULL); |
252 | // getStocks( symbollist.latin1() ); | 252 | // getStocks( symbollist.latin1() ); |
253 | } | 253 | } |
254 | 254 | ||
255 | //void StockTickerPluginWidget::DefProxy(void) { | ||
256 | // char *proxy; | ||
257 | // libstocks_return_code error; | ||
258 | |||
259 | // /* Proxy support */ | ||
260 | // /* Checks for "http_proxy" environment variable */ | ||
261 | // proxy = getenv("http_proxy"); | ||
262 | // if(proxy) { | ||
263 | // /* printf("proxy set\n"); */ | ||
264 | // error = set_proxy(proxy); | ||
265 | // if (error) { | ||
266 | // // printf("Proxy error (%d)\n", error); | ||
267 | // QString tempString; | ||
268 | // tempString.sprintf("Proxy error (%d)\n", error); | ||
269 | // output = tempString; | ||
270 | // return; | ||
271 | // // exit(1); | ||
272 | // } | ||
273 | // } | ||
274 | //} | ||
275 | |||
276 | void StockTickerPluginWidget::timerEvent( QTimerEvent *e ) { | 255 | void StockTickerPluginWidget::timerEvent( QTimerEvent *e ) { |
277 | killTimer(e->timerId()); | 256 | killTimer(e->timerId()); |
278 | checkConnection(); | 257 | checkConnection(); |
279 | } | 258 | } |