[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [k3b/2.0] src: Make sure m_timer.elapsed() > m_lastProgressUpdateTime to set m_labelRemainingTime af
From: Johannes Obermayr <johannesobermayr () gmx ! de>
Date: 2014-11-05 18:36:39
Message-ID: E1Xm5Rf-0001Wt-V4 () scm ! kde ! org
[Download RAW message or body]
Git commit 17ae8aefcad70adbdaff4e4f17a836390b453c1c by Johannes Obermayr.
Committed on 05/11/2014 at 18:29.
Pushed by jobermayr into branch '2.0'.
Make sure m_timer.elapsed() > m_lastProgressUpdateTime to set m_labelRemainingTime after first second.
M +1 -0 src/k3bjobprogressdialog.cpp
http://commits.kde.org/k3b/17ae8aefcad70adbdaff4e4f17a836390b453c1c
diff --git a/src/k3bjobprogressdialog.cpp b/src/k3bjobprogressdialog.cpp
index ba26b88..d18f21b 100644
--- a/src/k3bjobprogressdialog.cpp
+++ b/src/k3bjobprogressdialog.cpp
@@ -526,6 +526,7 @@ void K3b::JobProgressDialog::slotStarted()
{
kDebug();
d->lastProgress = 0;
+ m_lastProgressUpdateTime = 0;
m_timer.start();
m_plainCaption = k3bappcore->k3bMainWindow()->windowTitle();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic