Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Games
KGoldrunner
Commits
c1e6e55e
Commit
c1e6e55e
authored
Oct 21, 2019
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make it compile without kf5 deprecated methods
parent
6ab1071b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
CMakeLists.txt
CMakeLists.txt
+1
-0
src/main.cpp
src/main.cpp
+1
-1
No files found.
CMakeLists.txt
View file @
c1e6e55e
...
...
@@ -46,6 +46,7 @@ if (${KF5Config_VERSION} STRGREATER "5.56.0")
endif
()
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/.git"
)
add_definitions
(
-DQT_DISABLE_DEPRECATED_BEFORE=0x060000
)
add_definitions
(
-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000
)
endif
()
add_subdirectory
(
src
)
...
...
src/main.cpp
View file @
c1e6e55e
...
...
@@ -61,7 +61,7 @@ int main (int argc, char **argv)
// See if we are starting with session management.
if
(
app
.
isSessionRestored
())
{
// New RESTORE (KGrController);
RESTORE
(
KGoldrunner
);
kRestoreMainWindows
<
KGoldrunner
>
(
);
}
else
{
// New KGrController * controller = new KGrController();
...
...
Write
Preview
Markdown
is supported
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