diff --git a/cockatrice/src/game/game_state.cpp b/cockatrice/src/game/game_state.cpp index 30cb1acd4..dc9ba02a3 100644 --- a/cockatrice/src/game/game_state.cpp +++ b/cockatrice/src/game/game_state.cpp @@ -42,4 +42,4 @@ QString GameState::formatElapsedTime(int _secondsElapsed) return QString::number(hours).rightJustified(2, '0') + ":" + QString::number(minutes).rightJustified(2, '0') + ":" + QString::number(seconds).rightJustified(2, '0'); -} \ No newline at end of file +} diff --git a/cockatrice/src/game/game_state.h b/cockatrice/src/game/game_state.h index eb93edce3..94bbb853c 100644 --- a/cockatrice/src/game/game_state.h +++ b/cockatrice/src/game/game_state.h @@ -125,6 +125,8 @@ signals: public slots: void incrementGameTime(); void setGameTime(int _secondsElapsed); + +public: static QString formatElapsedTime(int _secondsElapsed); private: