mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-19 01:46:27 +00:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user