mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-26 15:20:29 +01:00
2021-02-24 Fred Gleason <fredg@paravelsystems.com>
* Updated build system to use Qt5 instead of Qt4. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -1158,7 +1158,7 @@ QString RDUrlUnescape(const QString &str)
|
||||
QString ret="";
|
||||
|
||||
for(int i=0;i<str.length();i++) {
|
||||
if((str.at(i).toAscii()=='%')&&(i<str.length()-2)) {
|
||||
if((str.at(i)==QChar('%'))&&(i<str.length()-2)) {
|
||||
ret+=QString().sprintf("%c",str.mid(i+1,2).toInt(NULL,16));
|
||||
i+=2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user