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 @@ -376,3 +376,3 @@ static const char* const general_data[] = { conf = new Config (cfgFile, Config::File); - conf->setGroup ("zsafe"); + conf->setGroup ("zsafePrefs"); #endif @@ -494,3 +494,3 @@ ZSafe::ZSafe( QWidget* parent, const char* name, bool modal, WFlags fl ) 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() ) @@ -764,4 +764,4 @@ void ZSafe::editPwd() { - if (!selectedItem) - return; + if (!selectedItem) + return; if (!isCategory(selectedItem)) @@ -807,3 +807,3 @@ void ZSafe::editPwd() int result = dialog->exec(); -// result = QDialog::Accepted; + result = QDialog::Accepted; #endif @@ -838,5 +838,5 @@ void ZSafe::newPwd() { - if (!selectedItem) - return; - + if (!selectedItem) + return; + qWarning("new item"); if (!isCategory(selectedItem)) @@ -847,3 +847,3 @@ void ZSafe::newPwd() QString cat = selectedItem->text(0); - + qWarning(cat); // open the 'New Entry' dialog @@ -876,3 +876,3 @@ retype: int result = dialog->exec(); -// result = QDialog::Accepted; + result = QDialog::Accepted; #endif |