Add default file extension configuration (#1995)

* Add default file extension configuration

* Format fix

* Implement ValueHandler for setSaveAsFileExtension

* Fix formatting issues

* Add format to properScreenshotPath call

* Fix SaveFileExtension::check

* Fix format

* Move extension layout to Save Path group
This commit is contained in:
Benja Appel
2021-10-25 14:24:46 -03:00
committed by GitHub
parent a487fb0257
commit 067f4a1914
7 changed files with 91 additions and 14 deletions

View File

@@ -198,3 +198,10 @@ class UserColors : public ValueHandler
QVariant fallback() override;
QString expected() override;
};
class SaveFileExtension : public ValueHandler
{
bool check(const QVariant& val) override;
QVariant process(const QVariant& val) override;
QString expected() override;
};