From fe3ae4244d979c0365ada97e42374efdcd31514e Mon Sep 17 00:00:00 2001 From: matthiasmiller Date: Mon, 8 May 2006 13:07:35 +0000 Subject: [PATCH] fix compile on Mac (unix keyword in project file includes macx) git-svn-id: https://svn.code.sf.net/p/keepassx/code/trunk@85 b624d157-de02-0410-bad0-e51aec6abb33 --- src/lib/AutoType_X11.cpp | 5 +++-- src/src.pro | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) 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