diff options
Diffstat (limited to 'application/pages/NotesPage.cpp')
-rw-r--r-- | application/pages/NotesPage.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/application/pages/NotesPage.cpp b/application/pages/NotesPage.cpp deleted file mode 100644 index 48bb468c..00000000 --- a/application/pages/NotesPage.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include "NotesPage.h" -#include "ui_NotesPage.h" - -NotesPage::NotesPage(BaseInstance *inst, QWidget *parent) - : QWidget(parent), ui(new Ui::NotesPage), m_inst(inst) -{ - ui->setupUi(this); - ui->tabWidget->tabBar()->hide(); - ui->noteEditor->setText(m_inst->notes()); -} - -NotesPage::~NotesPage() -{ - delete ui; -} - -bool NotesPage::apply() -{ - m_inst->setNotes(ui->noteEditor->toPlainText()); - return true; -} |