diff --git a/CrawlerList/main.cpp b/CrawlerList/main.cpp index e6d506d..6be6406 100644 --- a/CrawlerList/main.cpp +++ b/CrawlerList/main.cpp @@ -1,13 +1,12 @@ #include "widget.h" +#include #include int main(int argc, char *argv[]) { - QApplication a(argc, argv); + QApplication a(argc, argv); + QTextCodec::setCodecForLocale(QTextCodec::codecForName("eucKR")); Widget w; - - w.show(); - return a.exec(); } diff --git a/CrawlerList/snavernewsmanage.cpp b/CrawlerList/snavernewsmanage.cpp index 12445f6..e8283d3 100644 --- a/CrawlerList/snavernewsmanage.cpp +++ b/CrawlerList/snavernewsmanage.cpp @@ -101,6 +101,13 @@ void SNaverNewsManage::processFinished(QProcess *_pPro,QString _strOut) ReLoadList(); } + if(_strOut.right(7) == "nothing") + { + m_nMode = E_PROCESS_LIST_RUN; + CheckLast(); + return; + } + QStringList strOutList = _strOut.split("\n"); if(strOutList.length() > 2)