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-31 18:34:02 (GMT)
commit494fbd58cfde0ed3cfe0304ce40ceb363378caf2 (patch)
tree3e35a057eacb0c2e14ee12a718cba68f6b43eca0 /Swift/QtUI
parent09131c6d9b3d4253002204b41e731aa8af12fcd3 (diff)
downloadswift-contrib-494fbd58cfde0ed3cfe0304ce40ceb363378caf2.zip
swift-contrib-494fbd58cfde0ed3cfe0304ce40ceb363378caf2.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_;