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
Games
Katomic
Commits
4f654f24
Commit
4f654f24
authored
Dec 15, 2021
by
Laurent Montel
😁
Browse files
Compile fine without deprecated methods
parent
c24a1801
Pipeline
#110260
passed with stage
in 45 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
4f654f24
...
...
@@ -39,9 +39,9 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
find_package
(
KF5KDEGames 7.3.0 REQUIRED
)
add_definitions
(
-DQT_DISABLE_DEPRECATED_BEFORE=0x050F0
0
-DQT_DISABLE_DEPRECATED_BEFORE=0x050F0
2
-DQT_DEPRECATED_WARNINGS_SINCE=0x060000
-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055
6
00
-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055
9
00
-DKF_DEPRECATED_WARNINGS_SINCE=0x060000
)
...
...
src/levelset.cpp
View file @
4f654f24
...
...
@@ -261,7 +261,7 @@ const Molecule* LevelSet::readLevelMolecule(int levelNum) const
mol
->
m_width
=
max_i
+
1
;
mol
->
m_name
=
i18n
(
config
.
readEntry
(
"Name"
,
I
18
N_NOOP
(
"Noname"
)).
toUtf8
().
constData
());
mol
->
m_name
=
i18n
(
config
.
readEntry
(
"Name"
,
i
18
n
(
"Noname"
)).
toUtf8
().
constData
());
return
mol
;
}
...
...
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