Provide UI Theme editor

PR #18655.
This commit is contained in:
Vladimir Golovnev
2023-03-16 10:03:05 +03:00
committed by GitHub
parent 989b1e6c2c
commit 77aa85fbd3
15 changed files with 1381 additions and 380 deletions

View File

@@ -292,6 +292,12 @@ bool Utils::Fs::isNetworkFileSystem(const Path &path)
bool Utils::Fs::copyFile(const Path &from, const Path &to)
{
if (!from.exists())
return false;
if (!mkpath(to.parentPath()))
return false;
return QFile::copy(from.data(), to.data());
}