mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-17 03:00:46 +00:00
Merge branch 'master' into Statistics
This commit is contained in:
commit
c438ef3872
@ -10,7 +10,3 @@ TEMPLATE = subdirs
|
|||||||
SUBDIRS += oscar
|
SUBDIRS += oscar
|
||||||
|
|
||||||
CONFIG += ordered
|
CONFIG += ordered
|
||||||
|
|
||||||
macx: {
|
|
||||||
QMAKE_INFO_PLIST = Building/MacOS/Info.plist.in
|
|
||||||
}
|
|
||||||
|
@ -581,16 +581,17 @@ void Profile::UnloadMachineData()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (auto & day : daylist) {
|
|
||||||
delete day;
|
|
||||||
}
|
|
||||||
daylist.clear();
|
|
||||||
|
|
||||||
for (auto & mach : m_machlist) {
|
for (auto & mach : m_machlist) {
|
||||||
mach->saveSessionInfo();
|
mach->saveSessionInfo();
|
||||||
mach->sessionlist.clear();
|
mach->sessionlist.clear();
|
||||||
mach->day.clear();
|
mach->day.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for (auto & day : daylist) {
|
||||||
|
delete day;
|
||||||
|
}
|
||||||
|
daylist.clear();
|
||||||
|
|
||||||
removeLock();
|
removeLock();
|
||||||
}
|
}
|
||||||
void Profile::LoadMachineData(ProgressDialog *progress)
|
void Profile::LoadMachineData(ProgressDialog *progress)
|
||||||
|
@ -457,3 +457,7 @@ test {
|
|||||||
tests/sessiontests.h
|
tests/sessiontests.h
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# On macOS put a custom Info.plist into the bundle that disables dark mode on Mojave
|
||||||
|
macx {
|
||||||
|
QMAKE_INFO_PLIST = "../Building/MacOS/Info.plist.in"
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user