Fix opening opvault on macos

* Fixes #4069 and closes #5002
This commit is contained in:
Jonathan White 2020-08-25 23:41:02 -04:00
parent aedc45abd5
commit 639e44e182

View File

@ -275,7 +275,7 @@ void DatabaseTabWidget::importKeePass1Database()
void DatabaseTabWidget::importOpVaultDatabase()
{
#ifdef Q_MACOS
#ifdef Q_OS_MACOS
QString fileName = fileDialog()->getOpenFileName(this, tr("Open OPVault"), {}, "OPVault (*.opvault)");
#else
QString fileName = fileDialog()->getExistingDirectory(this, tr("Open OPVault"));