diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-06-06 09:27:51 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-06-06 09:27:51 (GMT) |
commit | 4fbd449f8ec45eb4cc3f5fcd51630caf102145af (patch) | |
tree | 39d173e4107654598946915fb1185c1a0e2e8ccf /Swift | |
parent | 11cdd3167f8c574ed917da63e63cf6183d7cc7bf (diff) | |
download | swift-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.cpp | 4 |
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); } |