Index: mainwindow.cpp =================================================================== --- mainwindow.cpp (revision 27) +++ mainwindow.cpp (working copy) @@ -200,11 +200,19 @@ actReplace->setEnabled(false); connect(actReplace, SIGNAL(triggered()), this, SLOT(replace())); +#ifdef Q_OS_MAC + actComplete= createAction(tr("Autocomplete"), "Meta+.", "", true); +#else actComplete= createAction(tr("Autocomplete"), "Ctrl+Space", "", true); +#endif connect(actComplete, SIGNAL(triggered()), this, SLOT(autoComplete())); actComplete->setEnabled(false); +#ifdef Q_OS_MAC + actCallTip = createAction(tr("Call tip"), "Meta+Shift+.", "", true); +#else actCallTip = createAction(tr("Call tip"), "Ctrl+Shift+Space", "", true); +#endif connect(actCallTip, SIGNAL(triggered()), this, SLOT(callTip())); actCallTip->setEnabled(false);