summaryrefslogtreecommitdiffstats
path: root/src/app/Dialogs
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-03-07 11:07:29 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-03-07 22:48:54 +0900
commita675856e6e7e5d7f20c66681f1c9d25c58d4b7ee (patch)
tree0d8bb87ef55a5d3bbd3e29899345ce90dab50889 /src/app/Dialogs
parent93cd4949e72fe0a36b0118cd34a3ade29b1fe551 (diff)
downloadkrusader-remove/kde-is-version.tar.gz
krusader-remove/kde-is-version.zip
Remove use of KDE_IS_VERSIONremove/kde-is-version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/app/Dialogs')
-rw-r--r--src/app/Dialogs/krprogress.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/app/Dialogs/krprogress.cpp b/src/app/Dialogs/krprogress.cpp
index fa97ec4..0f4ef13 100644
--- a/src/app/Dialogs/krprogress.cpp
+++ b/src/app/Dialogs/krprogress.cpp
@@ -222,12 +222,8 @@ void KrProgress::slotSpeed( TDEIO::Job*, unsigned long bytes_per_second )
if ( bytes_per_second == 0 ) {
speedLabel->setText( i18n( "Working") );
} else {
-#if KDE_IS_VERSION(3,4,0)
unsigned int seconds = TDEIO::calculateRemainingSeconds( m_iTotalSize, m_iProcessedSize, bytes_per_second );
- TQString remaining = TDEIO::convertSeconds(seconds);
-#else
- TQString remaining = TDEIO::calculateRemaining( m_iTotalSize, m_iProcessedSize, bytes_per_second ).toString();
-#endif
+ TQString remaining = TDEIO::convertSeconds(seconds);
speedLabel->setText( i18n( "%1/s ( %2 remaining )").arg( TDEIO::convertSize( bytes_per_second )).arg( remaining ) );
}
}