Browse Source

Fixed a bug where the last address label wouldn't be removed

pull/45/head
adityapk00 5 years ago
parent
commit
e93cf27adb
  1. 3
      src/addressbook.cpp

3
src/addressbook.cpp

@ -254,9 +254,6 @@ void AddressBook::readFromStorage() {
}
void AddressBook::writeToStorage() {
if (allLabels.isEmpty())
return;
QFile file(AddressBook::writeableFile());
file.open(QIODevice::ReadWrite | QIODevice::Truncate);
QDataStream out(&file); // we will serialize the data into the file

Loading…
Cancel
Save