[gnote] Update statistics
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Update statistics
- Date: Tue, 8 Oct 2019 20:04:46 +0000 (UTC)
commit 3b4bc2c198805cb45c2fae0bde484e6cf2517e9e
Author: Aurimas Černius <aurisc4 gmail com>
Date: Sun Oct 6 21:48:15 2019 +0300
Update statistics
src/addins/statistics/statistics.desktop.in.in | 2 +-
src/addins/statistics/statisticswidget.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/addins/statistics/statistics.desktop.in.in b/src/addins/statistics/statistics.desktop.in.in
index 832a02c2..f74e7d93 100644
--- a/src/addins/statistics/statistics.desktop.in.in
+++ b/src/addins/statistics/statistics.desktop.in.in
@@ -4,7 +4,7 @@ _Name=Statistics
_Description=Show various statistics about notes.
_Authors=Aurimas Černius
Category=Tools
-Version=0.5
+Version=0.6
DefaultEnabled=false
Module=libstatistics
LibgnoteRelease=@LIBGNOTE_RELEASE@
diff --git a/src/addins/statistics/statisticswidget.cpp b/src/addins/statistics/statisticswidget.cpp
index e427ea19..31c551ce 100644
--- a/src/addins/statistics/statisticswidget.cpp
+++ b/src/addins/statistics/statisticswidget.cpp
@@ -104,7 +104,7 @@ private:
notebook_notes[nbook] = 0;
++notebook;
}
- gnote::Tag::Ptr template_tag = gnote::ITagManager::obj().get_or_create_system_tag(
+ gnote::Tag::Ptr template_tag = m_note_manager.tag_manager().get_or_create_system_tag(
gnote::ITagManager::TEMPLATE_NOTE_SYSTEM_TAG);
for(gnote::NoteBase::Ptr note : notes) {
for(std::map<gnote::notebooks::Notebook::Ptr, int>::iterator nb = notebook_notes.begin();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]