UpdateWindowTitle in one string

--HG--
branch : feature
This commit is contained in:
Valentina Zhuravska 2015-11-06 05:31:37 +02:00
parent aba82baa98
commit 76f4753773

View File

@ -3906,7 +3906,5 @@ QString MainWindow::GetMeasurementFileName()
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
void MainWindow::UpdateWindowTitle() void MainWindow::UpdateWindowTitle()
{ {
QString shownName = GetPatternFileName(); setWindowTitle(qvariant_cast<QString>(GetPatternFileName()+GetMeasurementFileName()));
shownName += GetMeasurementFileName();
setWindowTitle(shownName);
} }