ext/embed/sunscraper.cpp in sunscraper-1.1.0.beta2 vs ext/embed/sunscraper.cpp in sunscraper-1.1.0.beta3
- old
+ new
@@ -6,21 +6,21 @@
#include <QMutexLocker>
#include <QEventLoop>
#include <QtDebug>
#include "sunscraper.h"
#include "sunscraperlibrary.h"
-#include "sunscraperthread.h"
+#include "sunscraperworker.h"
unsigned Sunscraper::m_nextQueryId = 1;
QMutex Sunscraper::m_staticMutex;
Sunscraper::Sunscraper()
{
QMutexLocker locker(&m_staticMutex);
m_queryId = m_nextQueryId++;
- SunscraperThread *worker = SunscraperThread::instance();
+ SunscraperWorker *worker = SunscraperWorker::instance();
if(worker == NULL)
qFatal("Attempt to run Sunscraper before thread initialization");
connect(this, SIGNAL(requestLoadHtml(uint,QString)),
worker, SLOT(loadHtml(uint,QString)), Qt::QueuedConnection);