Use defaultBackend from kpmcore.
Do not duplicate the same thing in partitionmanager.kcfg
This commit is contained in:
parent
bacb2e645b
commit
fa65cd116b
|
@ -99,7 +99,6 @@
|
|||
</entry>
|
||||
<entry key="backend" type="String">
|
||||
<label context="@label">Backend plugin</label>
|
||||
<default>pmlibpartedbackendplugin</default>
|
||||
</entry>
|
||||
<entry key="defaultFileSystem" type="Int">
|
||||
<default>FileSystem::Ext4</default>
|
||||
|
|
|
@ -133,7 +133,8 @@ bool loadBackend()
|
|||
{
|
||||
if (CoreBackendManager::self()->load(Config::backend()) == false) {
|
||||
if (CoreBackendManager::self()->load(CoreBackendManager::defaultBackendName())) {
|
||||
KMessageBox::sorry(nullptr,
|
||||
if (!Config::firstRun())
|
||||
KMessageBox::sorry(nullptr,
|
||||
xi18nc("@info", "<para>The configured backend plugin \"%1\" could not be loaded.</para>"
|
||||
"<para>Loading the default backend plugin \"%2\" instead.</para>",
|
||||
Config::backend(), CoreBackendManager::defaultBackendName()),
|
||||
|
|
Loading…
Reference in New Issue