From 4a4b5956c9b12bbfb583da1794ef0184e760ac33 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Mon, 21 Aug 2017 17:16:25 +0200 Subject: Move settings from GSettings to own db --- main/src/ui/chat_input/smiley_converter.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main/src/ui/chat_input') diff --git a/main/src/ui/chat_input/smiley_converter.vala b/main/src/ui/chat_input/smiley_converter.vala index 849745f9..f8d29225 100644 --- a/main/src/ui/chat_input/smiley_converter.vala +++ b/main/src/ui/chat_input/smiley_converter.vala @@ -42,7 +42,7 @@ class SmileyConverter { } private void check_convert() { - if (Dino.Settings.instance().convert_utf8_smileys) { + if (Dino.Application.get_default().settings.convert_utf8_smileys) { foreach (string smiley in smiley_translations.keys) { if (text_input.buffer.text.has_suffix(smiley)) { if (text_input.buffer.text.length == smiley.length || @@ -55,4 +55,4 @@ class SmileyConverter { } } -} \ No newline at end of file +} -- cgit v1.2.3-70-g09d2