D23221: Get rid of deprecated QSignalMapper() in KGoldRunner

Yuri Chornoivan <[email protected]>
Newsgroups gmane.comp.kde.devel.games
Message-ID <[email protected]>
yurchor created this revision.
yurchor added a reviewer: KDE Games.
Herald added a subscriber: kde-games-devel.
yurchor requested review of this revision.

REVISION SUMMARY
  QSignalMapper() is deprecated
  
  https://build.kde.org/job/Applications/job/kgoldrunner/job/kf5-qt5%20FreeBSDQt5.13/6/warnings12Result/category.2119183113/
  
  this patch replaces it with lambdas.

TEST PLAN
  1. Compile, install and run KGoldRunner.
  2. Start a game and select all menu items in the "Game", "Edit", and "settings" menus.

REPOSITORY
  R396 KGoldrunner

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D23221

AFFECTED FILES
  src/kgoldrunner.cpp
  src/kgoldrunner.h

To: yurchor, #kde_games
Cc: kde-games-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.