improved handling of relayouting messages

This commit is contained in:
fourtf
2018-06-04 16:10:54 +02:00
parent bd5f9853f9
commit 7ad4e36dbb
10 changed files with 87 additions and 126 deletions
-5
View File
@@ -42,9 +42,6 @@ public:
QFont getFont(Type type, float scale);
QFontMetrics getFontMetrics(Type type, float scale);
int getGeneration() const;
void incGeneration();
pajlada::Settings::Setting<std::string> chatFontFamily;
pajlada::Settings::Setting<int> chatFontSize;
@@ -79,8 +76,6 @@ private:
FontData createFontData(Type type, float scale);
std::vector<std::unordered_map<float, FontData>> fontsByType;
int generation = 0;
};
} // namespace singletons