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
@@ -229,9 +229,9 @@ 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;
}
@@ -251,29 +251,8 @@ void StockTickerPluginWidget::doStocks() {
// 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();
}