Refactor: simplify NoteContent

Authored by iasensio on May 12 2020, 6:48 PM.

Description

Refactor: simplify NoteContent

Summary:
Small refactor to reduce the size of NoteContent class

Move cssColorsName() to Tools, and also use a simpler QHash
Move loadNode() to NoteFactory

Test Plan: It works just the same

Reviewers: alex, ognarb

Reviewed By: alex, ognarb

Differential Revision: https://phabricator.kde.org/D29686

Details

Committed
iasensioMay 12 2020, 7:41 PM
Reviewer
alex
Differential Revision
D29686: Refactor: simplify NoteContent
Parents
R1050:8388390c8f83: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown