Skip to content
This repository has been archived by the owner on Jul 23, 2022. It is now read-only.

Commit

Permalink
Remove debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
alex1701c committed Sep 10, 2019
1 parent d0e4f90 commit 7755142
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/VeracryptVolumeManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,13 @@ class VeracryptVolumeManager {
#include "config/VeracryptConfigItem.h"

void saveVeracryptVolumes(const QList<VeracryptConfigItem *> &configItems) {
qInfo() << "Save Volumes" << configItems.count();
for (const auto &volumeGroupName:config.groupList().filter(QRegExp(R"(^(?!General$).*$)"))) {
config.group(volumeGroupName).deleteGroup();
}
for (auto *item:configItems) {
auto group = config.group(item->nameLineEdit->text());
group.writeEntry("id", item->idLabel->text());
group.writeEntry("priority", 100 - configItems.indexOf(item));
//qInfo() << "Save: " << item->nameLineEdit->text() << configItems.indexOf(item);
group.writeEntry("type", item->fileRadioButton->isChecked() ? "FILE" : "DEVICE");
group.writeEntry("source", item->fileRadioButton->isChecked() ? item->filePushButton->text().remove('&') :
item->devicePushButton->text().remove('&'));
Expand Down
1 change: 0 additions & 1 deletion src/config/VeracryptConfigItem.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ public Q_SLOTS:

void openVolumeFilePicker();

// TODO Implement better solution
void openVolumeDevicePicker();

void openMountPathPicker();
Expand Down
2 changes: 0 additions & 2 deletions src/config/veracryptrunner_config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ void VeracryptRunnerConfig::load() {
return volume1.priority < volume2.priority;
});
for (auto &volume:volumes) {
//qInfo() << "Load: " << volume.name << volume.priority;
addVeracryptItem(&volume, false);
}
validateMoveButtons();
Expand All @@ -38,7 +37,6 @@ void VeracryptRunnerConfig::load() {


void VeracryptRunnerConfig::save() {
qInfo() << "Save Config";
QList<VeracryptConfigItem *> configItemsUi;
const int itemCount = m_ui->veracryptVolumes->count();
for (int i = 0; i < itemCount; ++i) {
Expand Down

0 comments on commit 7755142

Please sign in to comment.