Bugfixes to previous commit
authorTorste Aikio <zokier@zokier.laptop>
Tue, 6 Jul 2010 11:15:12 +0000 (14:15 +0300)
committerTorste Aikio <zokier@zokier.laptop>
Tue, 6 Jul 2010 11:15:12 +0000 (14:15 +0300)
src/selectremotedlg.cpp
src/selectremotedlg.h
src/src.pro

index 6b191a1..ec435c6 100644 (file)
@@ -2,6 +2,7 @@
 
 #include "remote.h"
 #include "remotelistwidgetitem.h"
+#include "onlinepollerthread.h"
 
 #include <QHBoxLayout>
 #include <QLabel>
@@ -129,7 +130,7 @@ void SelectRemoteDlg::refreshDB()
     if (onlinePollerThread != NULL) {
         delete onlinePollerThread;
     }
-    onlinePollerThread = new OnlinePollerThread(this);
+    onlinePollerThread = new OnlinePollerThread();
     connect(onlinePollerThread, SIGNAL(online()),
             this, SLOT(getDB()));
     onlinePollerThread->run();
index 109a7ef..c4821f2 100644 (file)
@@ -18,6 +18,7 @@ class QWidget;
 class QPushButton;
 class QLabel;
 class QShowEvent;
+class OnlinePollerThread;
 
 class SelectRemoteDlg : public QDialog
 {
index 4399b6c..b0592ad 100644 (file)
@@ -15,6 +15,7 @@ SOURCES += advsettingsdlg.cpp
 SOURCES += settingstable.cpp
 SOURCES += aboutdlg.cpp
 SOURCES += remotelistwidgetitem.cpp
+SOURCES += onlinepollerthread.cpp
 
 HEADERS += rating.h
 HEADERS += settingsdlg.h
@@ -27,6 +28,7 @@ HEADERS += advsettingsdlg.h
 HEADERS += settingstable.h
 HEADERS += aboutdlg.h
 HEADERS += remotelistwidgetitem.h
+HEADERS += onlinepollerthread.h
 
 include(qmaemo5homescreenadaptor/qmaemo5homescreenadaptor.pri)
 
@@ -35,6 +37,7 @@ MOC_DIR = moc
 
 QT += network
 QT += xml
+QT += dbus
 
 CONFIG += mobility
 MOBILITY += bearer