Added some application-wide macros, set up various parts of the editor to reference the application name via macro instead of hardcoded to a specific string

This commit is contained in:
parax0
2016-05-03 00:42:55 -06:00
parent 2db740e572
commit ab38205611
15 changed files with 108 additions and 40 deletions

View File

@@ -1,11 +1,16 @@
#include "CAboutDialog.h"
#include "ui_CAboutDialog.h"
#include "UICommon.h"
CAboutDialog::CAboutDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::CAboutDialog)
{
ui->setupUi(this);
QString LabelText = ui->AboutLabel->text();
REPLACE_APPVARS(LabelText);
ui->AboutLabel->setText(LabelText);
}
CAboutDialog::~CAboutDialog()