summaryrefslogtreecommitdiff
Side-by-side diff
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() {