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
KBlocks
Commits
2702d854
Commit
2702d854
authored
Jan 24, 2021
by
Julian Helfferich
💬
Browse files
Remove unused code
Removed function with fully commented-out body that was never used anywhere.
parent
283a4c99
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/KBlocksScene.cpp
View file @
2702d854
...
...
@@ -167,18 +167,6 @@ void KBlocksScene::readSettings(const QSize &viewSize)
}
}
void
KBlocksScene
::
viewScaled
(
const
QSize
&
/*newsize*/
)
{
/*
//Temporarily halt game timer while resizing elements
if (gameState==Game_Active) stepTimer.stop();
grafx->adjustForSize(newsize);
updateDimensions();
//Do not restart if game was paused
if (gameState==Game_Active) stepTimer.start();
*/
}
void
KBlocksScene
::
startGame
()
{
if
(
mGameStarted
)
{
...
...
src/KBlocksScene.h
View file @
2702d854
...
...
@@ -48,7 +48,6 @@ public:
void
setSoundsEnabled
(
bool
enabled
)
override
;
void
readSettings
(
const
QSize
&
viewSize
)
override
;
void
viewScaled
(
const
QSize
&
newsize
);
void
startGame
()
override
;
void
stopGame
()
override
;
...
...
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