Try to use truly random data to initialize the random number generator

Fixed: crash when closing the PasswordDlg by clicking on the x
Fixed: -cfg parameter not working
Fixed: does not compile for Windows
Fixed some compiler warnings

git-svn-id: https://svn.code.sf.net/p/keepassx/code/trunk@176 b624d157-de02-0410-bad0-e51aec6abb33
This commit is contained in:
sniperbeamer
2008-03-08 14:18:32 +00:00
parent e9a85f91fc
commit b8f59f9f04
12 changed files with 98 additions and 85 deletions

View File

@@ -43,9 +43,9 @@ public:
};
enum DlgExit {
Exit_Ok,
Exit_Cancel,
Exit_Quit
Exit_Ok=QDialog::Accepted,
Exit_Cancel=QDialog::Rejected,
Exit_Quit=3
};
typedef bool (KeyFileGenProc)(const QString& filename,QString* error);