Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
System
Dolphin
Commits
8bc7f72a
Commit
8bc7f72a
authored
Dec 19, 2021
by
Alexander Lohnau
💬
Browse files
Utilize ecm_set_deprecation_versions to exclude deprecated API
parent
63124f56
Pipeline
#123156
passed with stage
in 4 minutes and 30 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
8bc7f72a
...
...
@@ -26,6 +26,7 @@ include(CMakePackageConfigHelpers)
include
(
GenerateExportHeader
)
include
(
FeatureSummary
)
include
(
ECMQtDeclareLoggingCategory
)
include
(
ECMDeprecationSettings
)
ecm_setup_version
(
${
RELEASE_SERVICE_VERSION
}
VARIABLE_PREFIX DOLPHIN
VERSION_HEADER
"
${
CMAKE_CURRENT_BINARY_DIR
}
/src/dolphin_version.h"
...
...
@@ -138,11 +139,10 @@ else()
set
(
HAVE_TERMINAL TRUE
)
endif
()
add_definitions
(
-DQT_DISABLE_DEPRECATED_BEFORE=0x050f00
-DQT_DEPRECATED_WARNINGS_SINCE=0x060000
-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055800
-DKF_DEPRECATED_WARNINGS_SINCE=0x060000
ecm_set_disabled_deprecation_versions
(
SHOW_DEPRECATIONS
QT 5.15
KF 5.90
KSERVICE 5.89
# We use KServiceTypeTrader in a compat code path
)
add_subdirectory
(
src
)
...
...
src/kitemviews/kfileitemmodel.cpp
View file @
8bc7f72a
...
...
@@ -16,6 +16,7 @@
#include
<KDirLister>
#include
<KIO/Job>
#include
<KLocalizedString>
#include
<KLazyLocalizedString>
#include
<KUrlMimeData>
#include
<QElapsedTimer>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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