From 141487e27db6db192575df3e409cf69124006501 Mon Sep 17 00:00:00 2001 From: matthiasmiller Date: Sat, 13 May 2006 20:52:46 +0000 Subject: [PATCH] tweaks to compile on windows git-svn-id: https://svn.code.sf.net/p/keepassx/code/trunk@87 b624d157-de02-0410-bad0-e51aec6abb33 --- src/lib/AutoType_Win.cpp | 4 +++- src/src.pro | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/lib/AutoType_Win.cpp b/src/lib/AutoType_Win.cpp index 525d22d..13690a0 100755 --- a/src/lib/AutoType_Win.cpp +++ b/src/lib/AutoType_Win.cpp @@ -21,9 +21,11 @@ #include #include "AutoType.h" +QWidget* AutoType::MainWin=NULL; + void AutoType::perform(CEntry* entry, QString& err){ QString str; -QMessageBox(NULL,tr("Error"),"This feature is not available under Windows"); +QMessageBox::warning(NULL,tr("Error"),"This feature is not available under Windows"); } \ No newline at end of file diff --git a/src/src.pro b/src/src.pro index 5a139f0..f32ba80 100755 --- a/src/src.pro +++ b/src/src.pro @@ -24,9 +24,10 @@ macx{ SOURCES+=lib/AutoType_X11.cpp } -win{ +win32{ SOURCES+=lib/AutoType_Win.cpp - + TARGET=../$$TARGET + QMAKE_LINK_OBJECT_SCRIPT=../build/$$QMAKE_LINK_OBJECT_SCRIPT }