author | llornkcor <llornkcor> | 2004-07-21 20:44:12 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2004-07-21 20:44:12 (UTC) |
commit | 51d06a743940249e34a2bcc970b825bad99819d3 (patch) (side-by-side diff) | |
tree | 4c8075a3e3b46146da7630998ee52265e83c0939 /noncore/apps/zsafe/zsafe.cpp | |
parent | 8d5f46620d92ff1fb9477ada28b6a1aafeed6d16 (diff) | |
download | opie-51d06a743940249e34a2bcc970b825bad99819d3.zip opie-51d06a743940249e34a2bcc970b825bad99819d3.tar.gz opie-51d06a743940249e34a2bcc970b825bad99819d3.tar.bz2 |
fixes
Diffstat (limited to 'noncore/apps/zsafe/zsafe.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/zsafe/zsafe.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/noncore/apps/zsafe/zsafe.cpp b/noncore/apps/zsafe/zsafe.cpp index 1c15852..2dd94aa 100644 --- a/noncore/apps/zsafe/zsafe.cpp +++ b/noncore/apps/zsafe/zsafe.cpp @@ -375,5 +375,5 @@ static const char* const general_data[] = { #else conf = new Config (cfgFile, Config::File); - conf->setGroup ("zsafe"); + conf->setGroup ("zsafePrefs"); #endif } @@ -493,5 +493,5 @@ ZSafe::ZSafe( QWidget* parent, const char* name, bool modal, WFlags fl ) setCaption( tr( "ZSafe" ) ); QString zsafeAppDirPath = QDir::homeDirPath() + "/Documents/application/zsafe"; - QString filename = conf->readEntry(APP_KEY+"document"); + filename = conf->readEntry(APP_KEY+"document"); if ( !QFileInfo(filename).exists() || !QDir(zsafeAppDirPath).exists() ) { @@ -763,6 +763,6 @@ void ZSafe::deletePwd() void ZSafe::editPwd() { - if (!selectedItem) - return; + if (!selectedItem) + return; if (!isCategory(selectedItem)) { @@ -806,5 +806,5 @@ void ZSafe::editPwd() #ifdef DESKTOP int result = dialog->exec(); -// result = QDialog::Accepted; + result = QDialog::Accepted; #endif if (result == Accepted) @@ -837,7 +837,7 @@ void ZSafe::editPwd() void ZSafe::newPwd() { - if (!selectedItem) - return; - + if (!selectedItem) + return; + qWarning("new item"); if (!isCategory(selectedItem)) selectedItem = selectedItem->parent(); @@ -846,5 +846,5 @@ void ZSafe::newPwd() { QString cat = selectedItem->text(0); - + qWarning(cat); // open the 'New Entry' dialog NewDialog *dialog = new NewDialog(this, "new_entry", TRUE); @@ -875,5 +875,5 @@ retype: #ifdef DESKTOP int result = dialog->exec(); -// result = QDialog::Accepted; + result = QDialog::Accepted; #endif |