Subversion Repositories OpenInventory

Compare Revisions

Ignore whitespace Rev 248 → Rev 249

/trunk/DBViewer/wmithread.h
29,11 → 29,11
}
void setWmiString(QString new_wmi_string){wmi_string = new_wmi_string;}
QString resultString(){
QTextCodec *codec = QTextCodec::codecForName("cp1251");
QTextCodec *codecUTF = QTextCodec::codecForName("utf8");
QTextCodec::setCodecForTr(codecUTF);
// static QTextCodec *codec = QTextCodec::codecForName("cp1251");
// static QTextCodec *codecUTF = QTextCodec::codecForName("utf8");
// QTextCodec::setCodecForTr(codecUTF);
return QString(tr(p_buffer));
QTextCodec::setCodecForTr(codec);
// QTextCodec::setCodecForTr(codec);
}
volatile bool stopped;
private: