Commit cd8718c7 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Upload theme is deprecated now

parent 0890ce94
Pipeline #73304 passed with stage
in 4 minutes and 40 seconds
......@@ -152,6 +152,7 @@ void ThemeEditorPage::installTheme(const QString &themePath)
void ThemeEditorPage::uploadTheme()
{
#if 0
// force update for screenshot
mEditorPage->preview()->updateViewer();
QTemporaryDir tmp;
......@@ -188,6 +189,7 @@ void ThemeEditorPage::uploadTheme()
qCDebug(CONTACTPRINTTHEMEEDITOR_LOG) << " We can't open in zip write mode";
}
delete zip;
#endif
}
void ThemeEditorPage::createZip(const QString &themeName, KZip *zip)
......
......@@ -145,6 +145,7 @@ void ContactEditorPage::installTheme(const QString &themePath)
void ContactEditorPage::uploadTheme()
{
#if 0
// force update for screenshot
mEditorPage->preview()->updateViewer();
QTemporaryDir tmp;
......@@ -188,6 +189,7 @@ void ContactEditorPage::uploadTheme()
qCDebug(CONTACTTHEMEEDITOR_LOG) << " We can't open in zip write mode";
}
delete zip;
#endif
}
void ContactEditorPage::createZip(const QString &themeName, KZip *zip)
......
......@@ -177,6 +177,7 @@ void ThemeEditorPage::installTheme(const QString &themePath)
void ThemeEditorPage::uploadTheme()
{
#if 0
// force update for screenshot
mEditorPage->preview()->updateViewer();
QTemporaryDir tmp;
......@@ -213,6 +214,7 @@ void ThemeEditorPage::uploadTheme()
qCDebug(HEADERTHEMEEDITOR_LOG) << " We can't open in zip write mode";
}
delete zip;
#endif
}
void ThemeEditorPage::createZip(const QString &themeName, KZip *zip)
......
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