diff --git a/src/lib/AutoType_X11.cpp b/src/lib/AutoType_X11.cpp index ccfb8df..e7d7d9b 100644 --- a/src/lib/AutoType_X11.cpp +++ b/src/lib/AutoType_X11.cpp @@ -1156,7 +1156,8 @@ return 0; #endif // X11 #ifdef Q_WS_MAC +#include void AutoType::perform(CEntry* entry, QString& err){ -QMessageBox::warnig(NULL,"AutoType","Sorry, but Auto-Type does not work under Mac OS X yet.","OK"); +QMessageBox::warning(NULL,"AutoType","Sorry, but Auto-Type does not work under Mac OS X yet.","OK"); } -#endif \ No newline at end of file +#endif diff --git a/src/src.pro b/src/src.pro index 77fe5a6..5a139f0 100755 --- a/src/src.pro +++ b/src/src.pro @@ -8,7 +8,7 @@ INSTALLS += target data data.files += ../share/keepass/* TARGET = ../bin/keepass -unix{ +unix:!macx{ isEmpty(PREFIX){ PREFIX=/usr/local } @@ -125,4 +125,4 @@ qt \ thread \ exceptions \ stl -TEMPLATE = app \ No newline at end of file +TEMPLATE = app