mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-23 06:31:20 -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
|
@ -959,7 +959,7 @@ bool RetroShareLink::checkSSLId(const QString& ssl_id)
|
|||
if(ssl_id.length() != 32)
|
||||
return false ;
|
||||
|
||||
QByteArray qb(ssl_id.toAscii()) ;
|
||||
QByteArray qb(ssl_id.toLatin1()) ;
|
||||
|
||||
for(int i=0;i<qb.length();++i)
|
||||
{
|
||||
|
@ -976,7 +976,7 @@ bool RetroShareLink::checkPGPId(const QString& pgp_id)
|
|||
if(pgp_id.length() != 16)
|
||||
return false ;
|
||||
|
||||
QByteArray qb(pgp_id.toAscii()) ;
|
||||
QByteArray qb(pgp_id.toLatin1()) ;
|
||||
|
||||
for(int i=0;i<qb.length();++i)
|
||||
{
|
||||
|
@ -990,7 +990,7 @@ bool RetroShareLink::checkPGPId(const QString& pgp_id)
|
|||
}
|
||||
bool RetroShareLink::checkRadix64(const QString& s)
|
||||
{
|
||||
QByteArray qb(s.toAscii()) ;
|
||||
QByteArray qb(s.toLatin1()) ;
|
||||
|
||||
for(int i=0;i<qb.length();++i)
|
||||
{
|
||||
|
@ -1011,7 +1011,7 @@ bool RetroShareLink::checkHash(const QString& hash)
|
|||
if(hash.length() != 40)
|
||||
return false ;
|
||||
|
||||
QByteArray qb(hash.toAscii()) ;
|
||||
QByteArray qb(hash.toLatin1()) ;
|
||||
|
||||
for(int i=0;i<qb.length();++i)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue