diff options
author | Alessio Treglia <alessio@debian.org> | 2012-02-16 11:08:45 +0100 |
---|---|---|
committer | Alessio Treglia <alessio@debian.org> | 2012-02-16 11:08:45 +0100 |
commit | 65a64d260e05c7bf8d3bdf82e796637dc820e574 (patch) | |
tree | 600c2becea7f28fdefff51200bb3ed33514e4cc7 /src/infofile.cpp | |
parent | 1d323e54ee434609cf035598486075c9a918a2d3 (diff) |
Imported Upstream version 0.7.0
Diffstat (limited to 'src/infofile.cpp')
-rw-r--r-- | src/infofile.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/infofile.cpp b/src/infofile.cpp index 3d0fd00..fce81de 100644 --- a/src/infofile.cpp +++ b/src/infofile.cpp @@ -1,5 +1,5 @@ /* smplayer, GUI front-end for mplayer. - Copyright (C) 2006-2011 Ricardo Villalba <rvm@escomposlinux.org> + Copyright (C) 2006-2012 Ricardo Villalba <rvm@users.sourceforge.net> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -20,7 +20,6 @@ #include <QFileInfo> #include <QCoreApplication> #include "discname.h" -#include "constants.h" #include "images.h" @@ -68,9 +67,6 @@ QString InfoFile::getInfo(MediaData md) { .arg(fi.size()/1048576) ); } else { QString url = md.filename; - if (url.endsWith(IS_PLAYLIST_TAG)) { - url = url.remove( QRegExp(IS_PLAYLIST_TAG_RX) ); - } s += addItem( tr("URL"), url ); } s += addItem( tr("Length"), Helper::formatTime((int)md.duration) ); |