Commit d7f8b452 authored by Laurent Montel's avatar Laurent Montel 😁

Make it compiles with QT_USE_FAST_OPERATOR_PLUS

parent 44f29c1c
......@@ -4,7 +4,6 @@ remove_definitions(-DQT_NO_URL_CAST_FROM_STRING
-DQT_NO_CAST_FROM_ASCII
-DQT_NO_CAST_TO_ASCII
-DQT_USE_QSTRINGBUILDER
-DQT_USE_FAST_OPERATOR_PLUS
)
......
......@@ -39,7 +39,7 @@ void TomboyItemDownloadJob::start()
{
// Get the speicific note
mContentURL.chop(1);
QNetworkRequest request(mContentURL + QLatin1String("/") + mResultItem.remoteId());
QNetworkRequest request(QString(mContentURL + QLatin1String("/") + mResultItem.remoteId()));
mReply = mRequestor->get(request, QList<O0RequestParameter>());
connect(mReply, &QNetworkReply::finished, this, &TomboyItemDownloadJob::onRequestFinished);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment