[gnote] Use enable_auto_bulleted_lists



commit 8184a186553cc9ddfafbcd235877ffc81aaa6bb0
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sat Dec 19 13:05:27 2020 +0200

    Use enable_auto_bulleted_lists

 src/notebuffer.cpp | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/notebuffer.cpp b/src/notebuffer.cpp
index 52ccf631..4fa76ab8 100644
--- a/src/notebuffer.cpp
+++ b/src/notebuffer.cpp
@@ -1,7 +1,7 @@
 /*
  * gnote
  *
- * Copyright (C) 2010-2017,2019 Aurimas Cernius
+ * Copyright (C) 2010-2017,2019-2020 Aurimas Cernius
  * Copyright (C) 2009 Hubert Figuiere
  *
  * This program is free software: you can redistribute it and/or modify
@@ -55,8 +55,7 @@ namespace gnote {
 
   bool NoteBuffer::get_enable_auto_bulleted_lists() const
   {
-    return m_preferences.get_schema_settings(Preferences::SCHEMA_GNOTE)->get_boolean(
-        Preferences::ENABLE_AUTO_BULLETED_LISTS);
+    return m_preferences.enable_auto_bulleted_lists();
   }
   
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]