Update settings and signals library version
This commit is contained in:
+3
-3
@@ -9,12 +9,12 @@ FontManager::FontManager()
|
||||
, currentFontSize("/appearance/currentFontSize", 14)
|
||||
, currentFont(this->currentFontFamily.getValue().c_str(), currentFontSize.getValue())
|
||||
{
|
||||
this->currentFontFamily.getValueChangedSignal().connect([this](const std::string &newValue) {
|
||||
this->currentFontFamily.connect([this](const std::string &newValue, auto) {
|
||||
this->incGeneration();
|
||||
this->currentFont.setFamily(newValue.c_str()); //
|
||||
this->currentFont.setFamily(newValue.c_str());
|
||||
this->fontChanged.invoke();
|
||||
});
|
||||
this->currentFontSize.getValueChangedSignal().connect([this](const int &newValue) {
|
||||
this->currentFontSize.connect([this](const int &newValue, auto) {
|
||||
this->incGeneration();
|
||||
this->currentFont.setSize(newValue);
|
||||
this->fontChanged.invoke();
|
||||
|
||||
Reference in New Issue
Block a user