summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2020-12-28 05:37:14 -0500
committerisanae <14251494+isanae@users.noreply.github.com>2020-12-28 05:37:14 -0500
commitf46a14f3bfa0bec9decad453d967de089e4833ad (patch)
tree34021073fa1450c287f4e674a580f2d0a98caea7 /src/mainwindow.cpp
parenta8f6f0d7a0f1c8506e225dc5a817cadc0c0b3662 (diff)
delete shortcut for save games
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index e7d99f23..0f5b15e3 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -1503,10 +1503,7 @@ void MainWindow::cleanup()
bool MainWindow::eventFilter(QObject *object, QEvent *event)
{
- if ((object == ui->savegameList) &&
- ((event->type() == QEvent::Leave) || (event->type() == QEvent::WindowDeactivate))) {
- m_SavesTab->hideSaveGameInfo();
- } else if (event->type() == QEvent::StatusTip && object != this) {
+ if (event->type() == QEvent::StatusTip && object != this) {
QMainWindow::event(event);
return true;
}