Fix kasts icon on android

Also fix a minor compiler warning (mentioned during android build)

BUG: 444892
This commit is contained in:
Bart De Vries 2021-11-04 15:38:09 +01:00
parent e6e0563498
commit 214394aae7
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ Kirigami.CategorizedSettings {
actions: [
Kirigami.SettingAction {
text: i18n("General")
icon.name: "kasts"
icon.name: ":/logo.svg"
page: "qrc:/GeneralSettingsPage.qml"
},
Kirigami.SettingAction {

View File

@ -90,7 +90,7 @@ void StorageManager::setStoragePath(QUrl url)
SettingsManager::self()->save();
disconnect(this, &StorageManager::cancelStorageMove, this, nullptr);
});
connect(this, &StorageManager::cancelStorageMove, this, [this, moveJob]() {
connect(this, &StorageManager::cancelStorageMove, this, [moveJob]() {
moveJob->doKill();
});
Q_EMIT storageMoveStarted();