KBShortcutsDialog: Add symbols for Command and Option on Mac

This commit is contained in:
Vojtech Kral 2018-12-21 12:48:05 +01:00
parent 1d769e322d
commit 2a244f2aab
2 changed files with 3 additions and 2 deletions

View File

@ -216,6 +216,7 @@ if(NOT TBB_FOUND)
if(";${TBB_FIND_COMPONENTS};tbb;" MATCHES ";${_comp};") if(";${TBB_FIND_COMPONENTS};tbb;" MATCHES ";${_comp};")
# Search for the libraries # Search for the libraries
message(WARNING "find_library: TBB_${_comp}_LIBRARY_RELEASE -> ${_comp}${TBB_STATIC_SUFFIX}")
find_library(TBB_${_comp}_LIBRARY_RELEASE ${_comp}${TBB_STATIC_SUFFIX} find_library(TBB_${_comp}_LIBRARY_RELEASE ${_comp}${TBB_STATIC_SUFFIX}
HINTS ${TBB_LIBRARY} ${TBB_SEARCH_DIR} HINTS ${TBB_LIBRARY} ${TBB_SEARCH_DIR}
PATHS ${TBB_DEFAULT_SEARCH_DIR} ENV LIBRARY_PATH PATHS ${TBB_DEFAULT_SEARCH_DIR} ENV LIBRARY_PATH

View File

@ -88,8 +88,8 @@ KBShortcutsDialog::KBShortcutsDialog()
void KBShortcutsDialog::fill_shortcuts() void KBShortcutsDialog::fill_shortcuts()
{ {
#ifdef __WXOSX__ #ifdef __WXOSX__
const std::string ctrl = "Cmd+"; // #ys_FIXME_cmd_smb // Change it for the accorded symbol const std::string ctrl = "";
const std::string alt = "Alt+"; // #ys_FIXME_cmd_smb // Change it for the accorded symbol const std::string alt = "";
#else #else
const std::string ctrl = "Ctrl+"; const std::string ctrl = "Ctrl+";
const std::string alt = "Alt+"; const std::string alt = "Alt+";