summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2004-07-14 08:38:10 (UTC)
committer llornkcor <llornkcor>2004-07-14 08:38:10 (UTC)
commitb09d76574ca6d2ebafca0640ea36c3b785e7f3a3 (patch) (side-by-side diff)
tree69989e2de473421b1b773cb703b867b04c9e32bd
parentc70dbfde7f9605be295cdc7f789c7e3e8d823d39 (diff)
downloadopie-b09d76574ca6d2ebafca0640ea36c3b785e7f3a3.zip
opie-b09d76574ca6d2ebafca0640ea36c3b785e7f3a3.tar.gz
opie-b09d76574ca6d2ebafca0640ea36c3b785e7f3a3.tar.bz2
fix opie build
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 41c572a..1c15852 100644
--- a/noncore/apps/zsafe/zsafe.cpp
+++ b/noncore/apps/zsafe/zsafe.cpp
@@ -782,50 +782,50 @@ void ZSafe::editPwd()
dialog->Field6Label->setText(getFieldLabel (selectedItem,"6", tr("Field 5")));
// set the fields
dialog->NameField->setText(selectedItem->text (0));
dialog->UsernameField->setText(selectedItem->text (1));
dialog->PasswordField->setText(selectedItem->text (2));
QString comment = selectedItem->text (3);
comment.replace (QRegExp("<br>"), "\n");
dialog->Field5->setText(selectedItem->text (4));
dialog->Field6->setText(selectedItem->text (5));
dialog->CommentField->insertLine(comment);
dialog->CommentField->setCursorPosition(0,0);
#ifdef Q_WS_QWS
DialogCode result = (DialogCode) QPEApplication::execDialog( dialog );
#endif
#ifdef DESKTOP
#ifndef Q_QW_QWIN
dialog->show();
#endif
#else
dialog->showMaximized();
#endif
- int result = dialog->exec();
#ifdef DESKTOP
+ int result = dialog->exec();
// result = QDialog::Accepted;
#endif
if (result == Accepted)
{
modified = true;
// edit the selected item
QString name = dialog->NameField->text();
selectedItem->setText (0, tr (name));
QString user = dialog->UsernameField->text();
selectedItem->setText (1, tr (user));
QString pwd = dialog->PasswordField->text();
selectedItem->setText (2, tr (pwd));
QString comment = dialog->CommentField->text();
comment.replace (QRegExp("\n"), "<br>");
selectedItem->setText (3, tr (comment));
QString f5 = dialog->Field5->text();
selectedItem->setText (4, tr (f5));
QString f6 = dialog->Field6->text();
selectedItem->setText (5, tr (f6));
}
delete dialog;
}
else