summaryrefslogtreecommitdiffstats
path: root/kradio3/src/standardscandialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kradio3/src/standardscandialog.cpp')
-rw-r--r--kradio3/src/standardscandialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kradio3/src/standardscandialog.cpp b/kradio3/src/standardscandialog.cpp
index b96f794..52e29ba 100644
--- a/kradio3/src/standardscandialog.cpp
+++ b/kradio3/src/standardscandialog.cpp
@@ -67,7 +67,7 @@ void StandardScanDialog::start()
if (!m_running) {
m_running = true;
m_stations.all().clear();
- m_startTime = TQDateTime::tqcurrentDateTime();
+ m_startTime = TQDateTime::currentDateTime();
m_oldPowerOn = queryIsPowerOn();
m_oldStation = queryCurrentStation().copy();
sendToBeginning();
@@ -153,7 +153,7 @@ bool StandardScanDialog::noticeProgress (float f)
progressBar->setProgress((int)rint(f * 100));
if (m_running) {
- int secs = m_startTime.secsTo(TQDateTime::tqcurrentDateTime());
+ int secs = m_startTime.secsTo(TQDateTime::currentDateTime());
int ms = (int)rint((1 - f) * (float) secs / f * 1000.0);
if (ms > 0 && ms < 86400000) // max one day