mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-17 11:10:45 +00:00
Merge branch 'master' into Statistics
This commit is contained in:
commit
c438ef3872
@ -2,25 +2,25 @@
|
|||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
<plist version="1.0">
|
<plist version="1.0">
|
||||||
<dict>
|
<dict>
|
||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
<string>OSCAR</string>
|
<string>OSCAR</string>
|
||||||
<key>CFBundleGetInfoString</key>
|
<key>CFBundleGetInfoString</key>
|
||||||
<string>Created by Qt/QMake</string>
|
<string>Created by Qt/QMake</string>
|
||||||
<key>CFBundleIconFile</key>
|
<key>CFBundleIconFile</key>
|
||||||
<string>${ASSETCATALOG_COMPILER_APPICON_NAME}</string>
|
<string>${ASSETCATALOG_COMPILER_APPICON_NAME}</string>
|
||||||
<key>CFBundleIdentifier</key>
|
<key>CFBundleIdentifier</key>
|
||||||
<string>${PRODUCT_BUNDLE_IDENTIFIER}</string>
|
<string>${PRODUCT_BUNDLE_IDENTIFIER}</string>
|
||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
<string>????</string>
|
<string>????</string>
|
||||||
<key>LSMinimumSystemVersion</key>
|
<key>LSMinimumSystemVersion</key>
|
||||||
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
|
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
|
||||||
<key>NSPrincipalClass</key>
|
<key>NSPrincipalClass</key>
|
||||||
<string>NSApplication</string>
|
<string>NSApplication</string>
|
||||||
<key>NSSupportsAutomaticGraphicsSwitching</key>
|
<key>NSSupportsAutomaticGraphicsSwitching</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>NSRequiresAquaSystemAppearance</key>
|
<key>NSRequiresAquaSystemAppearance</key>
|
||||||
<true/>
|
<true/>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
@ -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