From 4f6bf0f32483f524f2f654c9eaf9274d8e85af77 Mon Sep 17 00:00:00 2001 From: Louie S Date: Mon, 18 Mar 2024 15:16:01 -0400 Subject: Set settings with macro variables --- src/assignmentList.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/assignmentList.cpp') diff --git a/src/assignmentList.cpp b/src/assignmentList.cpp index c1e40f5..136af04 100644 --- a/src/assignmentList.cpp +++ b/src/assignmentList.cpp @@ -25,8 +25,8 @@ AssignmentList::AssignmentList() { // set QSettings information - QCoreApplication::setOrganizationName("assignment-list-qt"); // TODO grab this from a config.h type file - QCoreApplication::setApplicationName("assignment-list-qt"); // TODO grab this from a config.h type file + QCoreApplication::setOrganizationName(ORGANIZATION_NAME); + QCoreApplication::setApplicationName(PROJECT_NAME); // ensure QSettings location exists this->initializeSettings(); -- cgit