Skip to content
Browse files

Turn off the debugging window for xsession cmd. I think Kris turned t…

…hat on when writing the environment stuff.
  • Loading branch information...
1 parent 7f67688 commit ef8b856278bb67946c4e31cee1643404e0f4dd81 @beanpole135 beanpole135 committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 src-qt4/PCDM/src/pcdm-xprocess.cpp
View
4 src-qt4/PCDM/src/pcdm-xprocess.cpp
@@ -95,7 +95,7 @@ bool XProcess::startXSession(){
// Get the environment before we drop priv
QProcessEnvironment environ = QProcessEnvironment::systemEnvironment(); //current environment
- QWidget *wid = new QWidget();
+ //QWidget *wid = new QWidget();
if (setgid(pw->pw_gid) < 0) {
qDebug() << "setgid() failed!";
emit InvalidLogin(); //Make sure the GUI knows that it was a failure
@@ -157,7 +157,7 @@ bool XProcess::startXSession(){
this->setStandardOutputFile(xhome+"/.pcdm-startup.log",QIODevice::Truncate);
this->setStandardErrorFile(xhome+"/.pcdm-startup.err",QIODevice::Truncate);
// Startup the process
- QMessageBox::warning(wid, "My Application", "CMD: " + cmd, QMessageBox::Ok, QMessageBox::Ok);
+ //QMessageBox::warning(wid, "My Application", "CMD: " + cmd, QMessageBox::Ok, QMessageBox::Ok);
this->start(cmd);
return TRUE;
}

0 comments on commit ef8b856

Please sign in to comment.
Something went wrong with that request. Please try again.