From 4fbd449f8ec45eb4cc3f5fcd51630caf102145af Mon Sep 17 00:00:00 2001
From: Kevin Smith <git@kismith.co.uk>
Date: Sun, 6 Jun 2010 10:27:51 +0100
Subject: Debug Console now has a window title when its tab is selected.

Resolves: #355

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);
 }
 
-- 
cgit v0.10.2-6-g49f6