Reduce duplication
This commit is contained in:
committed by
craig.p.drummond
parent
b832f9df4e
commit
516f2fb186
@@ -343,11 +343,10 @@ void HttpSocket::readClient()
|
||||
return;
|
||||
}
|
||||
|
||||
#if QT_VERSION < 0x050000
|
||||
QUrl url(QUrl::fromEncoded(tokens[1]));
|
||||
#if QT_VERSION < 0x050000
|
||||
QUrl &q=url;
|
||||
#else
|
||||
QUrl url(QUrl::fromEncoded(tokens[1]));
|
||||
QUrlQuery q(url);
|
||||
#endif
|
||||
bool ok=false;
|
||||
|
||||
Reference in New Issue
Block a user