Commit 2a15da91 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Move as required

parent 2de92c79
Pipeline #40857 failed with stage
in 7 minutes and 3 seconds
...@@ -51,7 +51,7 @@ find_package(Qt5Keychain CONFIG) ...@@ -51,7 +51,7 @@ find_package(Qt5Keychain CONFIG)
set_package_properties(Qt5Keychain PROPERTIES set_package_properties(Qt5Keychain PROPERTIES
DESCRIPTION "Provides support for secure credentials storage" DESCRIPTION "Provides support for secure credentials storage"
URL "https://github.com/frankosterfeld/qtkeychain" URL "https://github.com/frankosterfeld/qtkeychain"
TYPE OPTIONAL) TYPE REQUIRED)
option(KDEPIM_RUN_AKONADI_TEST "Enable autotest based on Akonadi." TRUE) option(KDEPIM_RUN_AKONADI_TEST "Enable autotest based on Akonadi." TRUE)
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050f00) add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050f00)
......
...@@ -392,6 +392,7 @@ void TransportManager::removeTransport(int id) ...@@ -392,6 +392,7 @@ void TransportManager::removeTransport(int id)
d->validateDefault(); d->validateDefault();
QString group = t->currentGroup(); QString group = t->currentGroup();
if (t->storePassword()) { if (t->storePassword()) {
//Move async
Wallet *currentWallet = wallet(); Wallet *currentWallet = wallet();
if (currentWallet) { if (currentWallet) {
currentWallet->removeEntry(QString::number(t->id())); currentWallet->removeEntry(QString::number(t->id()));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment