Skip to content

Instantly share code, notes, and snippets.

@dubslow
Created November 12, 2014 03:21
Show Gist options
  • Save dubslow/757d4cb405cacec4a0c5 to your computer and use it in GitHub Desktop.
Save dubslow/757d4cb405cacec4a0c5 to your computer and use it in GitHub Desktop.
diff --git a/src/misc/settings.cpp b/src/misc/settings.cpp
index 3c2deec..d9c746a 100644
--- a/src/misc/settings.cpp
+++ b/src/misc/settings.cpp
@@ -138,7 +138,7 @@ void Settings::load()
smileyPack = s.value("smileyPack", ":/smileys/cylgom/emoticons.xml").toString();
customEmojiFont = s.value("customEmojiFont", true).toBool();
emojiFontFamily = s.value("emojiFontFamily", "DejaVu Sans").toString();
- emojiFontPointSize = s.value("emojiFontPointSize", QApplication::font().pointSize()).toInt();
+ emojiFontPointSize = s.value("emojiFontPointSize", 12).toInt();
firstColumnHandlePos = s.value("firstColumnHandlePos", 50).toInt();
secondColumnHandlePosFromRight = s.value("secondColumnHandlePosFromRight", 50).toInt();
timestampFormat = s.value("timestampFormat", "hh:mm").toString();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment