Remove several warnings when building the project

Signed-off-by: Yihe Li <winmikedows@hotmail.com>
This commit is contained in:
Yihe Li
2025-06-02 17:00:13 +08:00
parent d667dfe223
commit 5ccdb0a477
8 changed files with 9 additions and 9 deletions

View File

@@ -36,7 +36,7 @@ namespace FTBImportAPP {
QString getFTBRoot()
{
QString partialPath = QDir::homePath();
#if defined(Q_OS_OSX)
#if defined(Q_OS_MACOS)
partialPath = FS::PathCombine(partialPath, "Library/Application Support");
#endif
return FS::PathCombine(partialPath, ".ftba");