summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-11-05 13:51:30 (UTC)
committer llornkcor <llornkcor>2002-11-05 13:51:30 (UTC)
commit86d934b18fb8878b80f6c5e7d66453adb90b08a0 (patch) (side-by-side diff)
tree56d807f1155dbf9b4f5a828b6ab5ba43e7e532e4
parent320c8020a112dff1bc1d43bee9b103a423e0ac35 (diff)
downloadopie-86d934b18fb8878b80f6c5e7d66453adb90b08a0.zip
opie-86d934b18fb8878b80f6c5e7d66453adb90b08a0.tar.gz
opie-86d934b18fb8878b80f6c5e7d66453adb90b08a0.tar.bz2
remove commentedout code
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp23
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
@@ -227,13 +227,13 @@ StockTickerPluginWidget::~StockTickerPluginWidget() {
}
void StockTickerPluginWidget::init() {
QHBoxLayout* layout = new QHBoxLayout( this );
stocktickerTicker = new OTicker(this);
- stocktickerTicker->setMinimumHeight(15);
+// stocktickerTicker->setMinimumHeight(15);
connect( stocktickerTicker, SIGNAL( mousePressed()), this, SLOT( checkConnection() ));
layout->addWidget( stocktickerTicker);
wasError = true;
}
void StockTickerPluginWidget::doStocks() {
@@ -249,33 +249,12 @@ void StockTickerPluginWidget::doStocks() {
pthread_create(&thread1,NULL, (void * (*)(void *))getStocks, &symbollist);
}
// pthread_join(thread1,NULL);
// getStocks( symbollist.latin1() );
}
-//void StockTickerPluginWidget::DefProxy(void) {
-// char *proxy;
-// libstocks_return_code error;
-
-// /* Proxy support */
-// /* Checks for "http_proxy" environment variable */
-// proxy = getenv("http_proxy");
-// if(proxy) {
-// /* printf("proxy set\n"); */
-// error = set_proxy(proxy);
-// if (error) {
-// // printf("Proxy error (%d)\n", error);
-// QString tempString;
-// tempString.sprintf("Proxy error (%d)\n", error);
-// output = tempString;
-// return;
-// // exit(1);
-// }
-// }
-//}
-
void StockTickerPluginWidget::timerEvent( QTimerEvent *e ) {
killTimer(e->timerId());
checkConnection();
}
void StockTickerPluginWidget::checkConnection() {