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
master
matthiasmiller 19 years ago
parent 3011e86b37
commit fe3ae4244d
  1. 5
      src/lib/AutoType_X11.cpp
  2. 4
      src/src.pro

@ -1156,7 +1156,8 @@ return 0;
#endif // X11
#ifdef Q_WS_MAC
#include <QMessageBox>
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
#endif

@ -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
TEMPLATE = app