diff options
Diffstat (limited to 'Swift/QtUI')
-rw-r--r-- | Swift/QtUI/QtViewHistoryWindow.cpp | 8 | ||||
-rw-r--r-- | Swift/QtUI/QtViewHistoryWindow.h | 3 |
2 files changed, 3 insertions, 8 deletions
diff --git a/Swift/QtUI/QtViewHistoryWindow.cpp b/Swift/QtUI/QtViewHistoryWindow.cpp index 2f3bd9e..be83036 100644 --- a/Swift/QtUI/QtViewHistoryWindow.cpp +++ b/Swift/QtUI/QtViewHistoryWindow.cpp @@ -20,12 +20,8 @@ void QtViewHistoryWindow::show() { QWidget::activateWindow(); } -void QtViewHistoryWindow::hide() { - QWidget::hide(); -} - -void QtViewHistoryWindow::setEnabled(bool b) { - QWidget::setEnabled(b); +void QtViewHistoryWindow::setEnabled(bool enabled) { + QWidget::setEnabled(enabled); } } diff --git a/Swift/QtUI/QtViewHistoryWindow.h b/Swift/QtUI/QtViewHistoryWindow.h index 3fcd7e4..2d1ca57 100644 --- a/Swift/QtUI/QtViewHistoryWindow.h +++ b/Swift/QtUI/QtViewHistoryWindow.h @@ -18,8 +18,7 @@ namespace Swift { public: QtViewHistoryWindow(); void show(); - void hide(); - void setEnabled(bool b); + void setEnabled(bool enabled); private: JID jid_; |