Commit 9476b7b2 authored by David Faure's avatar David Faure
Browse files

Enable -DQT_NO_URL_CAST_FROM_STRING and fix compilation

parent 3126fa70
Pipeline #139728 passed with stage
in 1 minute and 6 seconds
......@@ -48,7 +48,7 @@ if(NOT CMAKE_VERSION VERSION_LESS "3.10.0")
endif()
set(CMAKE_CXX_STANDARD 17)
add_definitions(-DQT_NO_SIGNALS_SLOTS_KEYWORDS)
add_definitions(-DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING)
configure_file(DiscoverVersion.h.in DiscoverVersion.h)
......
......@@ -421,5 +421,5 @@ QString ResourcesModel::applicationSourceName() const
QUrl ResourcesModel::distroBugReportUrl()
{
return KOSRelease().bugReportUrl();
return QUrl(KOSRelease().bugReportUrl());
}
Supports Markdown
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