diff options
author | Maia Kozheva <sikon@ubuntu.com> | 2010-05-09 21:22:23 +0700 |
---|---|---|
committer | Maia Kozheva <sikon@ubuntu.com> | 2010-05-09 21:22:23 +0700 |
commit | 99b53d44a60e3e934fc664152c115ae0d6e19920 (patch) | |
tree | e38698c486f6b4044125fa0d0bf33475d92e8f3a /src/findsubtitles/osparser.cpp | |
parent | 263b32f108c15cd1c55a8f4eb4704fac6553f1ac (diff) |
Imported Upstream version 0.6.9
Diffstat (limited to 'src/findsubtitles/osparser.cpp')
-rw-r--r-- | src/findsubtitles/osparser.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/findsubtitles/osparser.cpp b/src/findsubtitles/osparser.cpp index 50c2909..fbe974e 100644 --- a/src/findsubtitles/osparser.cpp +++ b/src/findsubtitles/osparser.cpp @@ -1,5 +1,5 @@ /* smplayer, GUI front-end for mplayer. - Copyright (C) 2006-2009 Ricardo Villalba <rvm@escomposlinux.org> + Copyright (C) 2006-2010 Ricardo Villalba <rvm@escomposlinux.org> 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 @@ -99,8 +99,7 @@ QString OSParser::calculateHash(QString filename) { in >> a ; hash += a; }; - QString hexhash(""); - hexhash.setNum(hash,16); + QString hexhash = QString("%1").arg(hash, 16, 16, QChar('0')); return hexhash; } |