diff options
author | q5sys <jt@xsystems.com> | 2017-10-31 10:41:03 -0400 |
---|---|---|
committer | q5sys <jt@xsystems.com> | 2017-10-31 10:41:03 -0400 |
commit | 76c2e954c4621926805af3d95670f012f00c73b0 (patch) | |
tree | 9436c85166eff409382124907f2c457c86184e3b /src-qt5/core/libLumina/ExternalProcess.h | |
parent | remove wallpapers from Project (diff) | |
parent | Add a quick verify/modify of the directory used for the Lumina wallpapers. (diff) | |
download | lumina-76c2e954c4621926805af3d95670f012f00c73b0.tar.gz lumina-76c2e954c4621926805af3d95670f012f00c73b0.tar.bz2 lumina-76c2e954c4621926805af3d95670f012f00c73b0.zip |
Merge branch 'master' of http://github.com/trueos/lumina
Diffstat (limited to 'src-qt5/core/libLumina/ExternalProcess.h')
-rw-r--r-- | src-qt5/core/libLumina/ExternalProcess.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src-qt5/core/libLumina/ExternalProcess.h b/src-qt5/core/libLumina/ExternalProcess.h index ce8ff6f5..2a6f4949 100644 --- a/src-qt5/core/libLumina/ExternalProcess.h +++ b/src-qt5/core/libLumina/ExternalProcess.h @@ -15,6 +15,7 @@ #include <QString> #include <QTimer> #include <QApplication> +#include <QDebug> class ExternalProcess : public QProcess{ Q_OBJECT @@ -23,18 +24,21 @@ private: private slots: void resetCursor(){ + //qDebug() << "External Process: Reset Mouse Cursor =" << !cursorRestored; if(!cursorRestored){ QApplication::restoreOverrideCursor(); cursorRestored = true; } } void processStarting(){ + //qDebug() << "Starting External Process: Mouse Notification =" << !cursorRestored; if(!cursorRestored){ - QApplication::setOverrideCursor( QCursor(Qt::WaitCursor) ); + QApplication::setOverrideCursor( QCursor(Qt::BusyCursor) ); QTimer::singleShot(3000, this, SLOT(resetCursor()) ); } } void processFinished(){ + //qDebug() << "External Process Finished: Reset Mouse Cursor =" << !cursorRestored; if(!cursorRestored){ QApplication::restoreOverrideCursor(); cursorRestored = true; @@ -53,6 +57,7 @@ public: this->setStandardOutputFile(logfile); } //Setup the connection for automatic cleanup + connect(this, SIGNAL(started()), this, SLOT(processStarting()) ); connect(this, SIGNAL(finished(int, QProcess::ExitStatus)), this, SLOT(processFinished()) ); } |