mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-01-03 01:25:48 -05:00
Add Window menu for macOS and specify Help menu to AppKit (#12357)
* Add Window menu for macOS and specify Help menu to AppKit * Fix potential NSString dangling pointers of temporary QStrings
This commit is contained in:
parent
daf23b65ad
commit
d7c7ce4cc4
7 changed files with 65 additions and 2 deletions
|
|
@ -90,6 +90,10 @@ MainWindow::MainWindow()
|
|||
|
||||
m_ui->setupUi(this);
|
||||
|
||||
#ifdef Q_OS_MACOS
|
||||
macUtils()->configureWindowAndHelpMenus(this, m_ui->menuHelp);
|
||||
#endif
|
||||
|
||||
#if defined(Q_OS_UNIX) && !defined(Q_OS_MACOS) && !defined(QT_NO_DBUS)
|
||||
new MainWindowAdaptor(this);
|
||||
QDBusConnection dbus = QDBusConnection::sessionBus();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue