Commit 4f654f24 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Compile fine without deprecated methods

parent c24a1801
Pipeline #110260 passed with stage
in 45 seconds
......@@ -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=0x050F00
-DQT_DISABLE_DEPRECATED_BEFORE=0x050F02
-DQT_DEPRECATED_WARNINGS_SINCE=0x060000
-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055600
-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055900
-DKF_DEPRECATED_WARNINGS_SINCE=0x060000
)
......
......@@ -261,7 +261,7 @@ const Molecule* LevelSet::readLevelMolecule(int levelNum) const
mol->m_width = max_i+1;
mol->m_name = i18n(config.readEntry("Name", I18N_NOOP("Noname")).toUtf8().constData());
mol->m_name = i18n(config.readEntry("Name", i18n("Noname")).toUtf8().constData());
return mol;
}
......
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