mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 05:15:40 +03:00
Fix build for Qt <= 4.6
This commit is contained in:
parent
25065c4151
commit
10b55f11a2
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ QNetworkReply* ownCloudInfo::mkdirRequest( const QString& dir )
|
|||
connect(qhttp, SIGNAL(responseHeaderReceived(QHttpResponseHeader)), this, SLOT(qhttpResponseHeaderReceived(QHttpResponseHeader)));
|
||||
//connect(qhttp, SIGNAL(authenticationRequired(QString,quint16,QAuthenticator*)), this, SLOT(qhttpAuthenticationRequired(QString,quint16,QAuthenticator*)));
|
||||
QHttpRequestHeader header("MKCOL", QString(url.encodedPath()), 1,1); /* header */
|
||||
QByteArray host = url.toAce();
|
||||
QByteArray host = QUrl::toAce(url.host());
|
||||
int port = url.port();
|
||||
if (port != -1) {
|
||||
host += ':';
|
||||
|
|
Loading…
Reference in a new issue