mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 09:00:42 +08:00
Add pid to main window and console title bars.
This commit is contained in:
@@ -112,6 +112,15 @@ void SeerConsoleWidget::handleText (const char* buffer, int count) {
|
||||
}
|
||||
}
|
||||
|
||||
void SeerConsoleWidget::handleChangeWindowTitle (QString title) {
|
||||
|
||||
if (title == "") {
|
||||
setWindowTitle("Seer Console");
|
||||
}else{
|
||||
setWindowTitle("Seer Console - '" + title + "'");
|
||||
}
|
||||
}
|
||||
|
||||
void SeerConsoleWidget::handleClearButton () {
|
||||
textEdit->clear();
|
||||
_cursor.movePosition(QTextCursor::End);
|
||||
|
||||
Reference in New Issue
Block a user