Image 01
profile-image

dschulz

Diego Schulz Hohenau, Itapua, Paraguay
SingleApplication

Qt Components by xep 10 comments

I've been looking for a solution like this for a long time. I've seen the examples a few sec ago and must say..
SUPER! :)


- Aug 30 2008
Command Monitor

System Software by djworld 2 comments

Your app may be very useful, interesting idea.

5 minutes ago I've downloaded & compiled Command Monitor successfully on ubuntu gutsy.

I noticed 2 issues:

* Before closing the app, I think you should wait until workerthread finishes, maybe invoking a stop() method (needs to be implemented) and then invoking wait().
You could simply accept() the QCloseEvent instead of qApp->quit()


-------------------------
void CommandMonitor::closeEvent(QCloseEvent *event)
{
if(m_workerThread->isRunning()){
m_workerThread->stop();
m_workerThread->wait();

}
event->accept();
}
--------------------------

I'm not completely sure, just ideas. This might stop buggin with the annoying "QThread: Destroyed while thread is still running" message.



* 2nd issue is the strange message from libssh-2 "Server specified invalid channel"

I'll try to fix someway..

Congratulations ;) - Dec 14 2007