Commit 2702d854 authored by Julian Helfferich's avatar Julian Helfferich 💬
Browse files

Remove unused code

Removed function with fully commented-out body that was never used
anywhere.
parent 283a4c99
......@@ -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) {
......
......@@ -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;
......
Markdown is supported
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