NOTHING 메시지 처리 추가

euckr 코덱 사용 추가 

git-svn-id: svn://192.168.0.12/source@152 8346c931-da38-4b9b-9d4c-e48b93cbd075
This commit is contained in:
admin
2015-06-22 07:12:12 +00:00
parent 0a6c66099d
commit 5659316e0a
2 changed files with 10 additions and 4 deletions

View File

@@ -1,13 +1,12 @@
#include "widget.h" #include "widget.h"
#include <QTextCodec>
#include <QApplication> #include <QApplication>
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
QApplication a(argc, argv); QApplication a(argc, argv);
QTextCodec::setCodecForLocale(QTextCodec::codecForName("eucKR"));
Widget w; Widget w;
w.show(); w.show();
return a.exec(); return a.exec();
} }

View File

@@ -101,6 +101,13 @@ void SNaverNewsManage::processFinished(QProcess *_pPro,QString _strOut)
ReLoadList(); ReLoadList();
} }
if(_strOut.right(7) == "nothing")
{
m_nMode = E_PROCESS_LIST_RUN;
CheckLast();
return;
}
QStringList strOutList = _strOut.split("\n"); QStringList strOutList = _strOut.split("\n");
if(strOutList.length() > 2) if(strOutList.length() > 2)