diff options
author | Ken Moore <moorekou@gmail.com> | 2020-05-05 16:25:13 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2020-05-05 16:25:13 -0400 |
commit | f4675cd172b57a04556a43d00824b1948329d879 (patch) | |
tree | 1ce793fb28eb408451fc03384e6227fa047e8bf1 /src-qt5/core | |
parent | Ensure the desktop window itself does not stop the SS from triggering (diff) | |
download | lumina-f4675cd172b57a04556a43d00824b1948329d879.tar.gz lumina-f4675cd172b57a04556a43d00824b1948329d879.tar.bz2 lumina-f4675cd172b57a04556a43d00824b1948329d879.zip |
Convert to QElapsedTimer for a debugging timer.
Diffstat (limited to 'src-qt5/core')
-rw-r--r-- | src-qt5/core/lumina-desktop/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src-qt5/core/lumina-desktop/main.cpp b/src-qt5/core/lumina-desktop/main.cpp index 826d697c..c8a51462 100644 --- a/src-qt5/core/lumina-desktop/main.cpp +++ b/src-qt5/core/lumina-desktop/main.cpp @@ -84,8 +84,8 @@ int main(int argc, char ** argv) return 787; //return special restart code }*/ //Setup the log file - QTime *timer=0; - if(DEBUG){ timer = new QTime(); timer->start(); } + QElapsedTimer *timer=0; + if(DEBUG){ timer = new QElapsedTimer(); timer->start(); } if(DEBUG){ qDebug() << "Session Setup:" << timer->elapsed(); } a.setupSession(); if(DEBUG){ qDebug() << "Exec Time:" << timer->elapsed(); delete timer;} |