Remove several warnings when building the project
Signed-off-by: Yihe Li <winmikedows@hotmail.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user