summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-06-06 09:27:51 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-06-06 09:27:51 (GMT)
commit4fbd449f8ec45eb4cc3f5fcd51630caf102145af (patch)
tree39d173e4107654598946915fb1185c1a0e2e8ccf /Swift
parent11cdd3167f8c574ed917da63e63cf6183d7cc7bf (diff)
downloadswift-4fbd449f8ec45eb4cc3f5fcd51630caf102145af.zip
swift-4fbd449f8ec45eb4cc3f5fcd51630caf102145af.tar.bz2
Debug Console now has a window title when its tab is selected.
Resolves: #355
Diffstat (limited to 'Swift')
-rw-r--r--Swift/QtUI/QtXMLConsoleWidget.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Swift/QtUI/QtXMLConsoleWidget.cpp b/Swift/QtUI/QtXMLConsoleWidget.cpp
index 8e65718..00f9d3b 100644
--- a/Swift/QtUI/QtXMLConsoleWidget.cpp
+++ b/Swift/QtUI/QtXMLConsoleWidget.cpp
@@ -45,10 +45,14 @@ QtXMLConsoleWidget::QtXMLConsoleWidget() {
QPushButton* clearButton = new QPushButton("Clear", bottom);
connect(clearButton, SIGNAL(clicked()), textEdit, SLOT(clear()));
buttonLayout->addWidget(clearButton);
+
+ setWindowTitle("Debug Console");
+ emit titleUpdated();
}
void QtXMLConsoleWidget::showEvent(QShowEvent* event) {
emit windowOpening();
+ emit titleUpdated(); /* This just needs to be somewhere after construction */
QWidget::showEvent(event);
}