aboutsummaryrefslogtreecommitdiffstats
path: root/include/ui/widgets/EditorPage.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ui/widgets/EditorPage.h')
-rw-r--r--include/ui/widgets/EditorPage.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/ui/widgets/EditorPage.h b/include/ui/widgets/EditorPage.h
index a06d6cd6..720f60c3 100644
--- a/include/ui/widgets/EditorPage.h
+++ b/include/ui/widgets/EditorPage.h
@@ -47,7 +47,6 @@ QT_END_NAMESPACE
*/
class EditorPage : public QWidget {
Q_OBJECT
-
public:
/**
* @details Add layout and add plaintextedit
@@ -89,6 +88,9 @@ public:
*/
void closeNoteByClass(const char *className);
+
+ const QString uuid = QUuid::createUuid().toString();
+
private:
QTextEdit *textPage; /** The textedit of the tab */
QVBoxLayout *mainLayout; /** The layout for the tab */