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
253cc8d3
Commit
253cc8d3
authored
May 29, 2012
by
Ian Wadham
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change config group in KGrTheme from KDEGame to KGame.
svn path=/branches/work/kgoldrunner-qgv/; revision=1296998
parent
af3668c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/kgrtheme.cpp
src/kgrtheme.cpp
+2
-1
No files found.
src/kgrtheme.cpp
View file @
253cc8d3
...
...
@@ -67,7 +67,7 @@ bool KGrTheme::load (const QString& themeFilepath)
}
KConfig
theme
(
themeFilepath
,
KConfig
::
SimpleConfig
);
KConfigGroup
group
=
theme
.
group
(
"K
DE
GameTheme"
);
// Get graphics config.
KConfigGroup
group
=
theme
.
group
(
"KGameTheme"
);
// Get graphics config.
// Check if the theme asks us to draw a border and set the specified color.
themeDrawBorder
=
group
.
readEntry
(
"DrawCanvasBorder"
,
0
);
...
...
@@ -110,6 +110,7 @@ bool KGrTheme::load (const QString& themeFilepath)
if
(
!
(
loadedBefore
&&
cacheOK
))
{
kDebug
()
<<
"Calling loadSvg(), cacheOK:"
<<
cacheOK
<<
"loadedBefore:"
<<
loadedBefore
;
kDebug
()
<<
"SVG files"
<<
svgSetFilepath
<<
svgActorsFilepath
;
if
(
!
(
loadSvg
()))
{
return
false
;
}
...
...
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