logger.log(logger.HIGH, "Leaving NeverNote.accountInformation");
}
@SuppressWarnings("unused")
private void releaseNotes() {
logger.log(logger.HIGH, "Entering NeverNote.releaseNotes");
QDialog dialog = new QDialog(this);
QHBoxLayout layout = new QHBoxLayout();
QTextEdit textBox = new QTextEdit();
layout.addWidget(textBox);
textBox.setReadOnly(true);
QFile file = new QFile(Global.getFileManager().getProgramDirPath("release.txt"));
if (!file.open(new QIODevice.OpenMode(QIODevice.OpenModeFlag.ReadOnly,
QIODevice.OpenModeFlag.Text)))
return;
textBox.setText(file.readAll().toString());
file.close();
dialog.setWindowTitle(tr("Release Notes"));
dialog.setLayout(layout);
dialog.show();
logger.log(logger.HIGH, "Leaving NeverNote.releaseNotes");
}