Use existing public function

This commit is contained in:
ballessay 2017-04-13 16:25:32 +02:00 committed by C. Balles
parent e72976ff55
commit a5224bb7f6

View File

@ -1,9 +1,13 @@
#include "optionsdialog.h"
#include "mainwindow.h"
#include "ui_optionsdialog.h"
#include "mainwindow.h"
#include "newfiledialog.h"
#include "helpers.h"
// TODO: remove us
#include "widgets/memorywidget.h"
#include "widgets/notepad.h"
#include <QSettings>
@ -235,7 +239,7 @@ void OptionsDialog::anal_finished()
{
QByteArray ba;
ba.append(notes);
this->w->notepadDock->notesTextEdit->setPlainText(QByteArray::fromBase64(ba));
this->w->notepadDock->setText(QByteArray::fromBase64(ba));
}
//Get binary beginning/end addresses