mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-05-25 01:31:24 -04:00
Replace deprecated parts of the code (#2419)
Performing a dev build against the latest version of Qt failed because of some deprecated members. They have been replaced according to the Qt documentation. Further, Q_OS_MACOS is now the only macro available to identify a machine running macOS, the others are now deprecated. See https://doc.qt.io/qt-5/qtglobal.html#Q_OS_OSX and https://doc.qt.io/qt-5/qtglobal.html#Q_OS_MAC.
This commit is contained in:
parent
efdb43dc53
commit
f31d65bdaf
26 changed files with 57 additions and 47 deletions
|
@ -33,7 +33,7 @@ HostInstaller::HostInstaller()
|
|||
, ALLOWED_EXTENSIONS(QStringList() << "keepassxc-browser@keepassxc.org")
|
||||
, ALLOWED_ORIGINS(QStringList() << "chrome-extension://iopaggbpplllidnfmcghoonnokmjoicf/"
|
||||
<< "chrome-extension://oboonakemofpalcgghocfoadofidjkkk/")
|
||||
#if defined(Q_OS_OSX)
|
||||
#if defined(Q_OS_MACOS)
|
||||
, TARGET_DIR_CHROME("/Library/Application Support/Google/Chrome/NativeMessagingHosts")
|
||||
, TARGET_DIR_CHROMIUM("/Library/Application Support/Chromium/NativeMessagingHosts")
|
||||
, TARGET_DIR_FIREFOX("/Library/Application Support/Mozilla/NativeMessagingHosts")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue