From f4675cd172b57a04556a43d00824b1948329d879 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Tue, 5 May 2020 16:25:13 -0400 Subject: Convert to QElapsedTimer for a debugging timer. --- src-qt5/core/lumina-desktop/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src-qt5/core/lumina-desktop') 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;} -- cgit