summaryrefslogtreecommitdiffstats
path: root/konq-plugins/sidebar/mediaplayer
diff options
context:
space:
mode:
Diffstat (limited to 'konq-plugins/sidebar/mediaplayer')
-rw-r--r--konq-plugins/sidebar/mediaplayer/mediawidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/konq-plugins/sidebar/mediaplayer/mediawidget.cpp b/konq-plugins/sidebar/mediaplayer/mediawidget.cpp
index a95ae83..436b678 100644
--- a/konq-plugins/sidebar/mediaplayer/mediawidget.cpp
+++ b/konq-plugins/sidebar/mediaplayer/mediawidget.cpp
@@ -100,7 +100,7 @@ void KSB_MediaWidget::playerTimeout()
Position->setRange(0, range);
if (needLengthUpdate)
{
- int counter = player->lengthString().length() - (player->lengthString().tqfind("/")+1);
+ int counter = player->lengthString().length() - (player->lengthString().find("/")+1);
TQString length=player->lengthString().right(counter);
needLengthUpdate=false;
}