From 1c371c3d4cb390f099496bd0c0020bb4ec4cc28b Mon Sep 17 00:00:00 2001 From: doitux Date: Tue, 9 Oct 2007 08:46:28 +0000 Subject: [PATCH] bugfix --- src/gui/qt/gamelobbydialog/gamelobbydialogimpl.cpp | 1 + src/gui/qt/gamelobbydialog/mychatinputlineedit.cpp | 12 ++++++------ src/gui/qt/gamelobbydialog/mychatinputlineedit.h | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/gui/qt/gamelobbydialog/gamelobbydialogimpl.cpp b/src/gui/qt/gamelobbydialog/gamelobbydialogimpl.cpp index ab8992fc..39a45f0b 100644 --- a/src/gui/qt/gamelobbydialog/gamelobbydialogimpl.cpp +++ b/src/gui/qt/gamelobbydialog/gamelobbydialogimpl.cpp @@ -569,6 +569,7 @@ void gameLobbyDialogImpl::keyPressEvent ( QKeyEvent * event ) { bool gameLobbyDialogImpl::event ( QEvent * event ) { + QDialog::event(event); } void gameLobbyDialogImpl::hideShowGameDescription(bool show) { diff --git a/src/gui/qt/gamelobbydialog/mychatinputlineedit.cpp b/src/gui/qt/gamelobbydialog/mychatinputlineedit.cpp index b35195e7..b2cf0650 100644 --- a/src/gui/qt/gamelobbydialog/mychatinputlineedit.cpp +++ b/src/gui/qt/gamelobbydialog/mychatinputlineedit.cpp @@ -24,9 +24,9 @@ MyChatInputLineEdit::~MyChatInputLineEdit() { } -void MyChatInputLineEdit::keyPressEvent( QKeyEvent * event ) { - - if (event->key() == Qt::Key_Tab && this->hasSelectedText()) { } - - QLineEdit::keyPressEvent(event); -} +// void MyChatInputLineEdit::keyPressEvent( QKeyEvent * event ) { +// +// if (event->key() == Qt::Key_Tab && this->hasSelectedText()) { } +// +// QLineEdit::keyPressEvent(event); +// } diff --git a/src/gui/qt/gamelobbydialog/mychatinputlineedit.h b/src/gui/qt/gamelobbydialog/mychatinputlineedit.h index 1293f464..711b4cb5 100644 --- a/src/gui/qt/gamelobbydialog/mychatinputlineedit.h +++ b/src/gui/qt/gamelobbydialog/mychatinputlineedit.h @@ -26,7 +26,7 @@ public: public slots: - void keyPressEvent( QKeyEvent * event ); +// void keyPressEvent( QKeyEvent * event ); private: