[vlc-devel] commit: qt4_bookmarks: use ::number instead of %1 ( Rémi Duraffort )
git version control
git at videolan.org
Thu Mar 26 15:38:33 CET 2009
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Mar 26 13:16:26 2009 +0100| [84bf3811320a8bc72f5fb949cfe462b493a4b294] | committer: Rémi Duraffort
qt4_bookmarks: use ::number instead of %1
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=84bf3811320a8bc72f5fb949cfe462b493a4b294
---
modules/gui/qt4/dialogs/bookmarks.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt4/dialogs/bookmarks.cpp b/modules/gui/qt4/dialogs/bookmarks.cpp
index 8536da1..d12eb54 100644
--- a/modules/gui/qt4/dialogs/bookmarks.cpp
+++ b/modules/gui/qt4/dialogs/bookmarks.cpp
@@ -127,7 +127,7 @@ void BookmarksDialog::update()
// List with the differents elements of the row
QStringList row;
row << QString( qfu( pp_bookmarks[i]->psz_name ) );
- row << QString( "%1" ).arg( pp_bookmarks[i]->i_byte_offset );
+ row << QString::number( pp_bookmarks[i]->i_byte_offset );
int total = pp_bookmarks[i]->i_time_offset/ 1000000;
int hour = total / (60*60);
int min = (total - hour*60*60) / 60;
@@ -153,7 +153,7 @@ void BookmarksDialog::add()
if( !input_Control( p_input, INPUT_GET_BOOKMARK, &bookmark ) )
{
bookmark.psz_name = const_cast<char *>qtu( THEMIM->getIM()->getName() +
- QString("_%1" ).arg( bookmarksList->topLevelItemCount() ) );
+ QString::number( bookmarksList->topLevelItemCount() ) );
input_Control( p_input, INPUT_ADD_BOOKMARK, &bookmark );
}
More information about the vlc-devel
mailing list