fix: Fixed error popup on macos on file save
This commit is contained in:
parent
066158e669
commit
1efa7e681a
1 changed files with 2 additions and 0 deletions
|
|
@ -58,8 +58,10 @@ void SystemController::saveFile(const QString &fileName, const QString &data)
|
||||||
const auto url = fi.absoluteDir().absolutePath();
|
const auto url = fi.absoluteDir().absolutePath();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef MACOS_NE
|
||||||
QDesktopServices::openUrl(url);
|
QDesktopServices::openUrl(url);
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
bool SystemController::readFile(const QString &fileName, QByteArray &data)
|
bool SystemController::readFile(const QString &fileName, QByteArray &data)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue