Bugfixes to previous commit
[irwi] / src / selectremotedlg.cpp
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();