mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Merge branch 'pr2782'
This commit is contained in:
commit
aeb26d1af7
|
@ -192,7 +192,12 @@ void Settings::loadGlobal()
|
|||
s.endGroup();
|
||||
|
||||
s.beginGroup("GUI");
|
||||
smileyPack = s.value("smileyPack", ":/smileys/Universe/emoticons.xml").toString();
|
||||
const QString DEFAULT_SMILEYS = ":/smileys/Universe/emoticons.xml";
|
||||
smileyPack = s.value("smileyPack", DEFAULT_SMILEYS).toString();
|
||||
if (!SmileyPack::isValid(smileyPack))
|
||||
{
|
||||
smileyPack = DEFAULT_SMILEYS;
|
||||
}
|
||||
emojiFontPointSize = s.value("emojiFontPointSize", 16).toInt();
|
||||
firstColumnHandlePos = s.value("firstColumnHandlePos", 50).toInt();
|
||||
secondColumnHandlePosFromRight = s.value("secondColumnHandlePosFromRight", 50).toInt();
|
||||
|
|
Loading…
Reference in New Issue
Block a user