Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Discover
Commits
9476b7b2
Commit
9476b7b2
authored
Feb 19, 2022
by
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
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
9476b7b2
...
...
@@ -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
)
...
...
libdiscover/resources/ResourcesModel.cpp
View file @
9476b7b2
...
...
@@ -421,5 +421,5 @@ QString ResourcesModel::applicationSourceName() const
QUrl
ResourcesModel
::
distroBugReportUrl
()
{
return
KOSRelease
().
bugReportUrl
();
return
QUrl
(
KOSRelease
().
bugReportUrl
()
)
;
}
David Faure
@dfaure
mentioned in commit
54d9c6ec
·
Feb 19, 2022
mentioned in commit
54d9c6ec
mentioned in commit 54d9c6ec44ca2f558686a1dd0609fde8063447ce
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment