Pin antialiasing option (#1997)
* adds a config option to toggle antialiasing for the pin zoom * fix C++ scope error thanks for @veracioux * set the default value of antialiasing of pin tool to be true * fix the clang-format
This commit is contained in:
committed by
GitHub
parent
988dcab9de
commit
08e532f787
@@ -87,6 +87,7 @@ static QMap<class QString, QSharedPointer<ValueHandler>>
|
||||
OPTION("showStartupLaunchMessage" ,Bool ( true )),
|
||||
OPTION("copyAndCloseAfterUpload" ,Bool ( true )),
|
||||
OPTION("copyPathAfterSave" ,Bool ( false )),
|
||||
OPTION("antialiasingPinZoom" ,Bool ( true )),
|
||||
#if !defined(Q_OS_MACOS)
|
||||
OPTION("useJpgForClipboard" ,Bool ( false )),
|
||||
#endif
|
||||
|
||||
@@ -88,6 +88,7 @@ public:
|
||||
CONFIG_GETTER_SETTER(uploadHistoryMax, setUploadHistoryMax, int)
|
||||
CONFIG_GETTER_SETTER(saveAfterCopy, setSaveAfterCopy, bool)
|
||||
CONFIG_GETTER_SETTER(copyPathAfterSave, setCopyPathAfterSave, bool)
|
||||
CONFIG_GETTER_SETTER(antialiasingPinZoom, setAntialiasingPinZoom, bool)
|
||||
CONFIG_GETTER_SETTER(useJpgForClipboard, setUseJpgForClipboard, bool)
|
||||
CONFIG_GETTER_SETTER(ignoreUpdateToVersion,
|
||||
setIgnoreUpdateToVersion,
|
||||
|
||||
Reference in New Issue
Block a user