summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp
index 0d90d0f..5ddf03c 100644
--- a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp
+++ b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp
@@ -46,3 +46,3 @@ OTicker *stocktickerTicker;
-void getStocks( const QString *blah) {
+void getStocks( const char *blah) {
@@ -51,3 +51,5 @@ void getStocks( const QString *blah) {
stock *stocks_tmp;
- qDebug("%s", blah->latin1());
+ char *stock_liste = blah;
+ // char *stock_liste = (char *)blah->latin1();
+ qDebug("%s", stock_liste );
QString tempString;
@@ -98,3 +100,2 @@ void getStocks( const QString *blah) {
}
- char *stock_liste = (char *)blah->latin1();
// char *stock_liste = (char *)blah;
@@ -253,3 +254,4 @@ void StockTickerPluginWidget::doStocks() {
pthread_t thread1;
- pthread_create(&thread1,NULL, (void * (*)(void *))getStocks, &symbollist);
+ char *blah = symbollist.latin1();
+ pthread_create(&thread1,NULL, (void * (*)(void *))getStocks, blah);
}