Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@
#endif
#if defined( Q_OS_MACOS )
# include "mac/activity.h"
#endif
#if defined( Q_OS_MACOS ) && !defined( HEADLESS )
extern void qt_set_sequence_auto_mnemonic ( bool bEnable );
#endif
#include <memory>
Expand All @@ -82,7 +84,7 @@ extern void qt_set_sequence_auto_mnemonic ( bool bEnable );
int main ( int argc, char** argv )
{

#if defined( Q_OS_MACOS )
#if defined( Q_OS_MACOS ) && !defined( HEADLESS )
// Mnemonic keys are default disabled in Qt for MacOS. The following function enables them.
// Qt will not show these with underline characters in the GUI on MacOS. (#1873)
qt_set_sequence_auto_mnemonic ( true );
Expand Down Expand Up @@ -909,7 +911,7 @@ int main ( int argc, char** argv )
// For accessible support we need to add a plugin to qt. The plugin has to
// be located in the install directory of the software by the installer.
// Here, we set the path to our application path.
QDir ApplDir ( QApplication::applicationDirPath() );
QDir ApplDir ( QCoreApplication::applicationDirPath() );
pApp->addLibraryPath ( QString ( ApplDir.absolutePath() ) );
#endif

Expand Down
1 change: 0 additions & 1 deletion src/sound/coreaudio-mac/sound.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
#include <AudioToolbox/AudioToolbox.h>
#include <CoreMIDI/CoreMIDI.h>
#include <QMutex>
#include <QMessageBox>
Comment thread
ann0see marked this conversation as resolved.
#include "../soundbase.h"
#include "../../global.h"

Expand Down
Loading