2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Switch freetype to experimental settings

This commit is contained in:
Ilya Fedin
2023-02-22 11:44:59 +04:00
committed by John Preston
parent c327fa0d45
commit 808cf119b8
12 changed files with 14 additions and 56 deletions

View File

@@ -910,21 +910,6 @@ void Application::switchDebugMode() {
}
}
void Application::switchFreeType() {
if (cUseFreeType()) {
QFile(cWorkingDir() + u"tdata/withfreetype"_q).remove();
cSetUseFreeType(false);
} else {
QFile f(cWorkingDir() + u"tdata/withfreetype"_q);
if (f.open(QIODevice::WriteOnly)) {
f.write("1");
f.close();
}
cSetUseFreeType(true);
}
Restart();
}
void Application::writeInstallBetaVersionsSetting() {
_launcher->writeInstallBetaVersionsSetting();
}