Merge pull request #679 from lioncash/ctor

game_list: Remove unnecessary QString initialization in KeyReleaseEater
This commit is contained in:
bunnei 2018-07-17 22:18:39 -07:00 committed by GitHub
commit 24a55bba42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,10 +17,7 @@
#include "game_list_p.h" #include "game_list_p.h"
#include "ui_settings.h" #include "ui_settings.h"
GameList::SearchField::KeyReleaseEater::KeyReleaseEater(GameList* gamelist) { GameList::SearchField::KeyReleaseEater::KeyReleaseEater(GameList* gamelist) : gamelist{gamelist} {}
this->gamelist = gamelist;
edit_filter_text_old = "";
}
// EventFilter in order to process systemkeys while editing the searchfield // EventFilter in order to process systemkeys while editing the searchfield
bool GameList::SearchField::KeyReleaseEater::eventFilter(QObject* obj, QEvent* event) { bool GameList::SearchField::KeyReleaseEater::eventFilter(QObject* obj, QEvent* event) {