Skip to content

Commit

Permalink
fixed window title
Browse files Browse the repository at this point in the history
  • Loading branch information
rklasky committed Oct 20, 2020
1 parent 8abfba2 commit 81a95d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Donut_Main/nmfMainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,8 @@ nmfMainWindow::setupLogWidget()
void
nmfMainWindow::updateWindowTitle()
{
QSettings* settings = nmfUtilsQt::createSettings(nmfConstantsDonut::SettingsDirWindows,"DonutTool");
QSettings* settings = nmfUtilsQt::createSettings(
nmfConstantsDonut::SettingsDirWindows,QApplication::applicationName());

settings->beginGroup("SetupTab");
m_ProjectName = settings->value("ProjectName","").toString().toStdString();
Expand Down

0 comments on commit 81a95d4

Please sign in to comment.