mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-13 08:35:45 -04:00
Code maintenance for Qt 5:
- Replaced Qt::WFlags with Qt::WindowFlags. - Removed path "QtCore/" and "QtGui/" from the includes. - Replaced "QString::toAscii()" with "QString::toLatin1()". git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6843 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
69862404d6
commit
135a5e579a
101 changed files with 127 additions and 127 deletions
|
@ -310,7 +310,7 @@ bool
|
|||
string_is_hex(const QString &str)
|
||||
{
|
||||
for (int i = 0; i < str.length(); i++) {
|
||||
char c = str[i].toUpper().toAscii();
|
||||
char c = str[i].toUpper().toLatin1();
|
||||
if ((c < 'A' || c > 'F') && (c < '0' || c > '9'))
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue