Subversion Repositories OpenInventory

Compare Revisions

Ignore whitespace Rev 246 → Rev 247

/trunk/DBViewer/wmithread.cpp
18,11 → 18,11
void WmiThread::run(){
 
 
QEventLoop * loop = new QEventLoop();
QEventLoop loop; // = new QEventLoop();
Woker woker; // îáúåêò äëÿ ðàáîòû â òåëå ïîòîêà
 
// connect(&woker, SIGNAL(workEnd()), this, SLOT(wokerIsStopped()));
connect(&woker, SIGNAL(workEnd()), loop, SLOT(quit()));
connect(&woker, SIGNAL(workEnd()), &loop, SLOT(quit()));
 
/*
QString query_string;
45,7 → 45,7
 
woker.startProcess();
 
loop->exec();
loop.exec();
}
 
void WmiThread::stop(){