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
No known key found for this signature in database
8 changed files with 9 additions and 9 deletions

View file

@ -156,7 +156,7 @@ void ExternalToolsPage::on_mceditPathBtn_clicked()
QString raw_dir = ui->mceditPathEdit->text();
QString error;
do {
#ifdef Q_OS_OSX
#ifdef Q_OS_MACOS
raw_dir = QFileDialog::getOpenFileName(this, tr("MCEdit Application"), raw_dir);
#else
raw_dir = QFileDialog::getExistingDirectory(this, tr("MCEdit Folder"), raw_dir);