Show ordinal number each untitled window.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2015-08-01 16:29:28 +03:00
parent 4b62d4a20b
commit 58f013cd1e

View File

@ -69,7 +69,7 @@ TMainWindow::TMainWindow(QWidget *parent)
SetupMenu(); SetupMenu();
setWindowTitle(tr("untitled")); setWindowTitle(tr("untitled %1").arg(qApp->MainWindows().size()+1));
} }
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------