Show ordinal number each untitled window.
--HG-- branch : feature
This commit is contained in:
parent
4b62d4a20b
commit
58f013cd1e
|
@ -69,7 +69,7 @@ TMainWindow::TMainWindow(QWidget *parent)
|
|||
|
||||
SetupMenu();
|
||||
|
||||
setWindowTitle(tr("untitled"));
|
||||
setWindowTitle(tr("untitled %1").arg(qApp->MainWindows().size()+1));
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue
Block a user