summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVlad Voicu <vladvoic@gmail.com>2011-05-23 16:05:31 (GMT)
committerVlad Voicu <vladvoic@gmail.com>2011-05-23 20:01:27 (GMT)
commit8a104f454bbb806947caffdd5b46294b8ebd60df (patch)
tree3e35a057eacb0c2e14ee12a718cba68f6b43eca0 /Swift/QtUI
parent1fe7e5991c8d1601874f47d9d7038eafb568f6f2 (diff)
downloadswift-contrib-8a104f454bbb806947caffdd5b46294b8ebd60df.zip
swift-contrib-8a104f454bbb806947caffdd5b46294b8ebd60df.tar.bz2
fixes after code review
Diffstat (limited to 'Swift/QtUI')
-rw-r--r--Swift/QtUI/QtViewHistoryWindow.cpp8
-rw-r--r--Swift/QtUI/QtViewHistoryWindow.h3
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_;