[Dooble-Development] SF.net SVN: dooble:[3476] trunk/browser
Brought to you by:
textfield
From: <tex...@us...> - 2011-11-30 15:44:47
|
Revision: 3476 http://dooble.svn.sourceforge.net/dooble/?rev=3476&view=rev Author: textfield Date: 2011-11-30 15:44:41 +0000 (Wed, 30 Nov 2011) Log Message: ----------- Resolve QProcess warning. Modified Paths: -------------- trunk/browser/Doc/RELEASE-NOTES trunk/browser/Source/ddesktopwidget.cc Modified: trunk/browser/Doc/RELEASE-NOTES =================================================================== --- trunk/browser/Doc/RELEASE-NOTES 2011-11-30 15:26:35 UTC (rev 3475) +++ trunk/browser/Doc/RELEASE-NOTES 2011-11-30 15:44:41 UTC (rev 3476) @@ -22,6 +22,8 @@ from 50 to 100. 14. Removed obsolete values from the settings file. 15. Addons support. Thanks to Bernd Stramm. +16. Eliminated "QProcess: Destroyed while process is still running." + messages. 1.25 Modified: trunk/browser/Source/ddesktopwidget.cc =================================================================== --- trunk/browser/Source/ddesktopwidget.cc 2011-11-30 15:26:35 UTC (rev 3475) +++ trunk/browser/Source/ddesktopwidget.cc 2011-11-30 15:44:41 UTC (rev 3476) @@ -360,7 +360,7 @@ ~Qt::WindowMaximizeButtonHint); container->show(); - QProcess *process = new QProcess(container); + QProcess *process = new QProcess(0); connect(process, SIGNAL(error(QProcess::ProcessError)), @@ -381,8 +381,8 @@ SIGNAL(destroyed(QObject *)), process, SLOT(kill(void))); - connect(terminalWindow, - SIGNAL(destroyed(QObject *)), + connect(process, + SIGNAL(finished(int, QProcess::ExitStatus)), process, SLOT(deleteLater(void))); terminalWindow->resize(675, 450); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |