summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2004-07-10 01:59:00 (UTC)
committer llornkcor <llornkcor>2004-07-10 01:59:00 (UTC)
commit9a51654b784192af0b02536e308f62bf5a5ae57c (patch) (side-by-side diff)
tree16ec1ec15173f76d1c0134d63b03aafb89e484a8
parent9c40b0465fc9d553077f020bed889bb1ac1a472f (diff)
downloadopie-9a51654b784192af0b02536e308f62bf5a5ae57c.zip
opie-9a51654b784192af0b02536e308f62bf5a5ae57c.tar.gz
opie-9a51654b784192af0b02536e308f62bf5a5ae57c.tar.bz2
spelling
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/zsafe/zsafe.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/apps/zsafe/zsafe.cpp b/noncore/apps/zsafe/zsafe.cpp
index 824b841..0864293 100644
--- a/noncore/apps/zsafe/zsafe.cpp
+++ b/noncore/apps/zsafe/zsafe.cpp
@@ -1908,49 +1908,49 @@ bool ZSafe::openDocument(const char* _filename, const char* )
{
QFile f(_filename);
if (f.exists())
{
// ask with a dialog for the password
if (m_password.isEmpty())
getDocPassword(tr("Enter Password"));
if (m_password.isEmpty() && validationFlag == 0)
{
#ifndef NO_OPIE
owarn << "Wrong password" << oendl;
#else
qWarning ("Wrong password");
#endif
QMessageBox::critical( 0, tr("ZSafe"),
tr("Wrong password.\n\nZSafe will now exit.") );
exitZs (1);
}
retval = loadInit(_filename, m_password);
if (retval != PWERR_GOOD)
{
#ifndef NO_OPIE
owarn << "Error loading Document" << oendl;
-#lese
+#else
qWarning ("Error loading Document");
#endif
return false;
}
}
else
{
#ifdef WIN32
this->setCaption("Qt ZSafe");
#else
this->setCaption("ZSafe");
#endif
filename = "";
return false;
}
// load the validation entry
if (validationFlag == 0)
{
pwdOk = 1;
break;
}