From b8b4e4c524331b4deb0a6caa8da004430297c98a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 14 Aug 2017 16:40:47 +0300 Subject: Replace static members usage from pointers to direct classes. clang-tidy warning: readability-static-accessed-through-instance --- src/gui/windowmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/windowmanager.cpp') diff --git a/src/gui/windowmanager.cpp b/src/gui/windowmanager.cpp index 38141720b..978e6ae42 100644 --- a/src/gui/windowmanager.cpp +++ b/src/gui/windowmanager.cpp @@ -322,7 +322,7 @@ void WindowManager::resizeVideo(int actualWidth, #ifndef DYECMD Game *const game = Game::instance(); if (game != nullptr) - game->videoResized(width, height); + Game::videoResized(width, height); #endif // DYECMD if (gui != nullptr) -- cgit v1.2.3-60-g2f50