diff options
Diffstat (limited to 'src/knemod/interfacetooltip.cpp')
-rw-r--r-- | src/knemod/interfacetooltip.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/knemod/interfacetooltip.cpp b/src/knemod/interfacetooltip.cpp index a909817..aba8e99 100644 --- a/src/knemod/interfacetooltip.cpp +++ b/src/knemod/interfacetooltip.cpp @@ -68,7 +68,7 @@ void InterfaceToolTip::setupText( TQString& text ) text += "<tr><td>" + mToolTips[2].first + "</td><td>" + i18n( "Connection established." ) + "</td></tr>"; if ( toolTipContent & UPTIME ) { - int upsecs = mInterface->getStartTime().secsTo( TQDateTime::tqcurrentDateTime() ); + int upsecs = mInterface->getStartTime().secsTo( TQDateTime::currentDateTime() ); int updays = upsecs / 86400; // don't use TQDateTime::daysTo() because // we only want complete days @@ -76,7 +76,7 @@ void InterfaceToolTip::setupText( TQString& text ) if ( updays == 1 ) uptime = "1 day, "; else if ( updays > 1 ) - uptime = TQString( "%1 days, " ).tqarg( updays ); + uptime = TQString( "%1 days, " ).arg( updays ); upsecs -= 86400 * updays; // we only want the seconds of today int hrs = upsecs / 3600; |