Changeset View
Changeset View
Standalone View
Standalone View
kded/engine/backends/cryfs/cryfsbackend.cpp
Show First 20 Lines • Show All 187 Lines • ▼ Show 20 Line(s) | 187 | exitCode == ExitCode::TooNewFilesystemFormat ? | |||
---|---|---|---|---|---|
188 | Result<>::error(Error::BackendError, | 188 | Result<>::error(Error::BackendError, | ||
189 | i18n("The installed version of cryfs is too old to open this vault.")) : | 189 | i18n("The installed version of cryfs is too old to open this vault.")) : | ||
190 | 190 | | |||
191 | exitCode == ExitCode::TooOldFilesystemFormat ? | 191 | exitCode == ExitCode::TooOldFilesystemFormat ? | ||
192 | upgradeFileSystem() : | 192 | upgradeFileSystem() : | ||
193 | 193 | | |||
194 | // otherwise just report that we failed | 194 | // otherwise just report that we failed | ||
195 | Result<>::error(Error::CommandError, | 195 | Result<>::error(Error::CommandError, | ||
196 | i18n("Unable to perform the operation (error code %1).", QString::number((int)exitCode))); | 196 | i18n("Unable to perform the operation (error code %1).", QString::number((int)exitCode)), | ||
197 | out, err); | ||||
197 | 198 | | |||
198 | 199 | | |||
199 | }); | 200 | }); | ||
200 | 201 | | |||
201 | // Writing the password | 202 | // Writing the password | ||
202 | process->write(password.toUtf8()); | 203 | process->write(password.toUtf8()); | ||
203 | process->write("\n"); | 204 | process->write("\n"); | ||
204 | 205 | | |||
▲ Show 20 Lines • Show All 50 Lines • Show Last 20 Lines |