From 5659316e0a869c85b7ef37f500d598cdeb0d67c1 Mon Sep 17 00:00:00 2001 From: admin Date: Mon, 22 Jun 2015 07:12:12 +0000 Subject: [PATCH] =?UTF-8?q?NOTHING=20=EB=A9=94=EC=8B=9C=EC=A7=80=20?= =?UTF-8?q?=EC=B2=98=EB=A6=AC=20=EC=B6=94=EA=B0=80=20euckr=20=EC=BD=94?= =?UTF-8?q?=EB=8D=B1=20=EC=82=AC=EC=9A=A9=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://192.168.0.12/source@152 8346c931-da38-4b9b-9d4c-e48b93cbd075 --- CrawlerList/main.cpp | 7 +++---- CrawlerList/snavernewsmanage.cpp | 7 +++++++ 2 files changed, 10 insertions(+), 4 deletions(-) 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)