Subversion Repositories OpenInventory

Compare Revisions

Ignore whitespace Rev 247 → Rev 248

/trunk/DBViewer/wmithread.cpp
24,9 → 24,9
// connect(&woker, SIGNAL(workEnd()), this, SLOT(wokerIsStopped()));
connect(&woker, SIGNAL(workEnd()), &loop, SLOT(quit()));
 
/*
 
QString query_string;
error = false; //ñáðîñèì ôëàã îøèáêè
// error = false; //ñáðîñèì ôëàã îøèáêè
query_string = tr("wmic -U ");
query_string.append(user_name);
query_string.append(tr("%"));
37,15 → 37,15
query_string.append(wmi_string);
query_string.append(tr("\""));
// process.start(query_string);
process.start("ls\n");
// process.start("ls\n");
// while (!stopped) {;}
 
*/
 
 
woker.setProcessString(query_string);
woker.startProcess();
 
loop.exec();
p_buffer = woker.workBuffer();
}
 
void WmiThread::stop(){