From 81a95d497928051f94fa354a24bacc170cdd9c4f Mon Sep 17 00:00:00 2001 From: Ronald Klasky Date: Tue, 20 Oct 2020 13:06:08 -0400 Subject: [PATCH] fixed window title --- Donut_Main/nmfMainWindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Donut_Main/nmfMainWindow.cpp b/Donut_Main/nmfMainWindow.cpp index d8aafde..817e9a2 100644 --- a/Donut_Main/nmfMainWindow.cpp +++ b/Donut_Main/nmfMainWindow.cpp @@ -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();