diff --git a/src/core/operationrunner.cpp b/src/core/operationrunner.cpp index d24617b..1880bf6 100644 --- a/src/core/operationrunner.cpp +++ b/src/core/operationrunner.cpp @@ -60,9 +60,9 @@ void OperationRunner::run() for (int i = 0; i < numOperations(); i++) { suspendMutex().lock(); + suspendMutex().unlock(); if (!status || isCancelling()) { - suspendMutex().unlock(); break; } @@ -79,13 +79,6 @@ void OperationRunner::run() disconnect(op, &Operation::progress, this, &OperationRunner::progressSub); emit opFinished(i + 1, op); - - suspendMutex().unlock(); - - // Sleep a little to give others a chance to suspend us. This should normally not be - // required -- is it possible that the compiler just optimizes our unlock/lock away - // if we don't sleep? - msleep(5); } if (automounter) diff --git a/src/plugins/dummy/pmdummybackendplugin.json b/src/plugins/dummy/pmdummybackendplugin.json index c230985..5bb0fb6 100644 --- a/src/plugins/dummy/pmdummybackendplugin.json +++ b/src/plugins/dummy/pmdummybackendplugin.json @@ -12,6 +12,7 @@ "Description[ca@valencia]": "Un dorsal fals del gestor de particions del KDE amb la finalitat de fer proves.", "Description[ca]": "Un dorsal fals del gestor de particions del KDE amb la finalitat de fer proves.", "Description[de]": "Ein Dummy-Backend für die KDE-Partitionsverwaltung zu Testzwecken.", + "Description[es]": "Un motor de simulación para el gestor de particiones de KDE para hacer pruebas.", "Description[nl]": "Dummy backend van KDE-partitiebeheerder voor testdoeleinden", "Description[pt]": "Uma infra-estrutura de testes para o Gestor de Partições do KDE.", "Description[sk]": "Testovací program v pozadí KDE Správcu partícií", @@ -25,7 +26,9 @@ "Name": "KDE Partition Manager Dummy Backend", "Name[ca@valencia]": "Dorsal fals del gestor de particions del KDE", "Name[ca]": "Dorsal fals del gestor de particions del KDE", + "Name[cs]": "Podpůrná vrstva pro správce diskových oddílů pro KDE", "Name[de]": "KDE-Partitionsverwaltung Dummy-Backend", + "Name[es]": "Motor de simulación para el gestor de particiones de KDE", "Name[fi]": "KDE:n osionhallinnan valetaustaosa", "Name[fr]": "Moteur de test pour le gestionnaire de partitions de KDE", "Name[id]": "Backend Tiruan Pengelola Partisi KDE",