r24028 by jghali - Fix deprecation warning related to the use of QTime::elapsed()

scribus-commit scribus-commit at lists.scribus.net
Thu Sep 24 16:10:40 UTC 2020


Author: jghali
Date: Thu Sep 24 16:10:40 2020
New Revision: 24028

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24028
Log:
Fix deprecation warning related to the use of QTime::elapsed()

Modified:
    trunk/Scribus/scribus/ui/effectsdialog.h

Modified: trunk/Scribus/scribus/ui/effectsdialog.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24028&path=/trunk/Scribus/scribus/ui/effectsdialog.h
==============================================================================
--- trunk/Scribus/scribus/ui/effectsdialog.h	(original)
+++ trunk/Scribus/scribus/ui/effectsdialog.h	Thu Sep 24 16:10:40 2020
@@ -9,7 +9,7 @@
 
 #include <QDialog>
 #include <QMap>
-#include <QTime>
+#include <QElapsedTimer>
 
 #include "scribusapi.h"
 #include "scimage.h"
@@ -182,7 +182,7 @@
 	ScImage m_image;
 	double  m_imageScale;
 
-	QTime m_time;
+	QElapsedTimer m_time;
 	QMap<QListWidgetItem*, QString> m_effectValMap;
 
 	QHBoxLayout* EffectsDialogLayout;




More information about the scribus-commit mailing list