From 1e78596dfaebe2b2b3ca4efd6f2a80a24e55721a Mon Sep 17 00:00:00 2001 From: Jeffrey Oliver Date: Fri, 2 Jan 2015 17:07:30 -0800 Subject: [PATCH] Remove unused function. --- cockatrice/src/dlg_filter_games.cpp | 4 ---- cockatrice/src/dlg_filter_games.h | 5 ----- 2 files changed, 9 deletions(-) diff --git a/cockatrice/src/dlg_filter_games.cpp b/cockatrice/src/dlg_filter_games.cpp index 257d7b80f..7c33b8b84 100644 --- a/cockatrice/src/dlg_filter_games.cpp +++ b/cockatrice/src/dlg_filter_games.cpp @@ -113,10 +113,6 @@ void DlgFilterGames::actOk() { accept(); } -QString DlgFilterGames::hashGameType(const QString &gameType) const { - return QCryptographicHash::hash(gameType.toUtf8(), QCryptographicHash::Md5).toHex(); -} - bool DlgFilterGames::getUnavailableGamesVisible() const { return unavailableGamesVisibleCheckBox->isChecked(); diff --git a/cockatrice/src/dlg_filter_games.h b/cockatrice/src/dlg_filter_games.h index 7cd02c898..18c01b0c6 100644 --- a/cockatrice/src/dlg_filter_games.h +++ b/cockatrice/src/dlg_filter_games.h @@ -25,11 +25,6 @@ private: // This needs a const someplace const GamesProxyModel *gamesProxyModel; - /* - * The game type might contain special characters, so to use it in - * QSettings we just hash it. - */ - QString hashGameType(const QString &gameType) const; private slots: void actOk(); public: