Хранилища Subversion OpenInventory

Редакция

Редакция 250 | К новейшей редакции | Весь файл | Не учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS

Редакция 250 Редакция 255
Строка 27... Строка 27...
27
        mutex.unlock();
27
        mutex.unlock();
28
28
29
                        }
29
                        }
30
    void setWmiString(QString new_wmi_string){wmi_string = new_wmi_string;}
30
    void setWmiString(QString new_wmi_string){wmi_string = new_wmi_string;}
31
    QString resultString(){
31
    QString resultString(){
32
                            return QString(tr(p_buffer));
-
 
33
32
-
 
33
        QTextCodec *codec = QTextCodec::codecForName("cp1251");
-
 
34
        QTextCodec *codecUTF = QTextCodec::codecForName("utf8");
-
 
35
        QTextCodec::setCodecForTr(codecUTF);
-
 
36
        QString tmp_str;
-
 
37
        tmp_str = tr(p_buffer);
-
 
38
        QTextCodec::setCodecForTr(codec);
-
 
39
        //  return QString(tr(p_buffer));
-
 
40
        return tmp_str;
34
                            }
41
                            }
35
volatile bool stopped;
42
volatile bool stopped;
36
private:
43
private:
37
44
38
    volatile bool error;
45
    volatile bool error;