zeit: minor change, move QSL defines

This commit is contained in:
blaze 2021-04-25 18:34:26 +03:00
parent beb57377fb
commit 6105c76817
No known key found for this signature in database
GPG Key ID: C4996C546950EAE4
3 changed files with 3 additions and 2 deletions

View File

@ -20,6 +20,8 @@
#include "basedelegate.h"
#include "ui_mainwindow.h"
#define QSL QStringLiteral
BaseDelegate::BaseDelegate(Ui::MainWindow* ui_) : ui(ui_)
{

View File

@ -29,7 +29,6 @@
#define ROOT_ACTIONS false
#endif // BUILD_HELPER
#define QSL QStringLiteral
namespace Ui {
class MainWindow;

View File

@ -43,7 +43,7 @@ void VariableDelegate::view() {
item->setText(QString(QStringLiteral("%1%2=%3"))
.arg(var->comment.isEmpty()
? QString()
: QString(QSL("## %1\n")).arg(var->comment),
: QString(QStringLiteral("## %1\n")).arg(var->comment),
var->variable, var->value));
setIcon(item, var->enabled);
ui->listWidget->addItem(item);