diff --git a/csearch.cpp b/csearch.cpp index c0efe26..59c4ffc 100644 --- a/csearch.cpp +++ b/csearch.cpp @@ -1,7 +1,6 @@ #include "csearch.h" #include "ui_csearch.h" -#include "cthetvdb.h" #include "cthetvdbv2.h" #include "cserie.h" @@ -39,7 +38,6 @@ void cSearch::on_m_lpSearchButton_clicked() lpDialog->setMessage("Searching"); lpDialog->show(); - cTheTVDB theTVDB; cTheTVDBV2 theTVDBV2; QList serieList2 = theTVDBV2.search(ui->m_lpSearch->text()); diff --git a/cupdatethread.cpp b/cupdatethread.cpp index 0f1eeb0..0b961d4 100644 --- a/cupdatethread.cpp +++ b/cupdatethread.cpp @@ -2,7 +2,7 @@ #include "cserie.h" #include "cseason.h" #include "cepisode.h" -#include "cthetvdb.h" +#include "cthetvdbv2.h" #include "cmessagedialog.h" #include @@ -34,7 +34,7 @@ void cUpdateThread::run() if(lpSerie) { emit updateMessage(lpSerie->seriesName(), x); - cTheTVDB tvDB; + cTheTVDBV2 tvDB; cSerie* lpSerieNew; if(lpSerie->seriesID() != -1)