diff options
author | bunnei <bunneidev@gmail.com> | 2018-07-18 07:18:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-18 07:18:39 +0200 |
commit | 24a55bba42788d11252bf491ecf7bbd8777cc6b2 (patch) | |
tree | 08e95d0efc9811ead9fe171238f2c946cbb06fa4 | |
parent | Merge pull request #678 from lioncash/astc (diff) | |
parent | game_list: Remove unnecessary QString initialization in KeyReleaseEater (diff) | |
download | yuzu-24a55bba42788d11252bf491ecf7bbd8777cc6b2.tar yuzu-24a55bba42788d11252bf491ecf7bbd8777cc6b2.tar.gz yuzu-24a55bba42788d11252bf491ecf7bbd8777cc6b2.tar.bz2 yuzu-24a55bba42788d11252bf491ecf7bbd8777cc6b2.tar.lz yuzu-24a55bba42788d11252bf491ecf7bbd8777cc6b2.tar.xz yuzu-24a55bba42788d11252bf491ecf7bbd8777cc6b2.tar.zst yuzu-24a55bba42788d11252bf491ecf7bbd8777cc6b2.zip |
-rw-r--r-- | src/yuzu/game_list.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/yuzu/game_list.cpp b/src/yuzu/game_list.cpp index 5a708dc73..0132a050d 100644 --- a/src/yuzu/game_list.cpp +++ b/src/yuzu/game_list.cpp @@ -17,10 +17,7 @@ #include "game_list_p.h" #include "ui_settings.h" -GameList::SearchField::KeyReleaseEater::KeyReleaseEater(GameList* gamelist) { - this->gamelist = gamelist; - edit_filter_text_old = ""; -} +GameList::SearchField::KeyReleaseEater::KeyReleaseEater(GameList* gamelist) : gamelist{gamelist} {} // EventFilter in order to process systemkeys while editing the searchfield bool GameList::SearchField::KeyReleaseEater::eventFilter(QObject* obj, QEvent* event) { |