mirror of
https://github.com/fergalmoran/flameshot.git
synced 2026-02-15 15:03:58 +00:00
Now you can change the thickness of the drawing tools!
This commit is contained in:
@@ -99,6 +99,14 @@ void ConfigHandler::setDisabledTrayIcon(const bool disabledTrayIcon) {
|
||||
m_settings.setValue("disabledTrayIcon", disabledTrayIcon);
|
||||
}
|
||||
|
||||
int ConfigHandler::drawThicknessValue() {
|
||||
return m_settings.value("drawThickness").toInt();
|
||||
}
|
||||
|
||||
void ConfigHandler::setdrawThickness(const int thickness) {
|
||||
m_settings.setValue("drawThickness", thickness);
|
||||
}
|
||||
|
||||
bool ConfigHandler::initiatedIsSet() {
|
||||
return m_settings.value("initiated").toBool();
|
||||
}
|
||||
|
||||
@@ -54,6 +54,9 @@ public:
|
||||
bool disabledTrayIconValue();
|
||||
void setDisabledTrayIcon(const bool);
|
||||
|
||||
int drawThicknessValue();
|
||||
void setdrawThickness(const int);
|
||||
|
||||
bool initiatedIsSet();
|
||||
void setInitiated();
|
||||
void setNotInitiated();
|
||||
|
||||
Reference in New Issue
Block a user