diff options
author | Catalin Badea <catalin.badea392@gmail.com> | 2012-06-04 12:00:47 (GMT) |
---|---|---|
committer | Catalin Badea <catalin.badea392@gmail.com> | 2012-06-19 20:21:54 (GMT) |
commit | 8e90fc4fb400b925dfb7897b47ecb1ffd0d13538 (patch) | |
tree | a6814b14391badfc5b85d8645a112e64bc731968 /Swift/QtUI/QtHistoryWindow.cpp | |
parent | 250ba9152e6b09e1654e18040cffa0d1c31434ec (diff) | |
download | swift-contrib-8e90fc4fb400b925dfb7897b47ecb1ffd0d13538.zip swift-contrib-8e90fc4fb400b925dfb7897b47ecb1ffd0d13538.tar.bz2 |
Disconnect history controller from the event stream. Fixed coding style
Diffstat (limited to 'Swift/QtUI/QtHistoryWindow.cpp')
-rw-r--r-- | Swift/QtUI/QtHistoryWindow.cpp | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/Swift/QtUI/QtHistoryWindow.cpp b/Swift/QtUI/QtHistoryWindow.cpp index a54fa03..6868ca5 100644 --- a/Swift/QtUI/QtHistoryWindow.cpp +++ b/Swift/QtUI/QtHistoryWindow.cpp @@ -1,11 +1,11 @@ /* * Copyright (c) 2012 Catalin Badea - * Licensed under the GNU General Public License v3. - * See Documentation/Licenses/GPLv3.txt for more information. + * Licensed under the simplified BSD license. + * See Documentation/Licenses/BSD-simplified.txt for more information. */ -#include "QtHistoryWindow.h" -#include "QtTabbable.h" +#include <QtHistoryWindow.h> +#include <QtTabbable.h> #include <QCloseEvent> #include <QTextEdit> @@ -14,7 +14,7 @@ #include <QScrollBar> #include <QCheckBox> -#include "QtSwiftUtil.h" +#include <QtSwiftUtil.h> #include <string> namespace Swift { @@ -35,16 +35,9 @@ QtHistoryWindow::QtHistoryWindow() { buttonLayout->addStretch(); setWindowTitle(tr("History")); - emit titleUpdated(); } QtHistoryWindow::~QtHistoryWindow() { - // do nothing -} - -void QtHistoryWindow::show() { - QWidget::show(); - emit windowOpening(); } void QtHistoryWindow::activate() { |