Use Qt::Literals::StringLiterals

This commit is contained in:
Jonas Kvinge
2024-10-18 20:17:23 +02:00
parent 6931538ebf
commit 0e330b81db
156 changed files with 160 additions and 172 deletions

View File

@@ -36,7 +36,7 @@
#include "about.h"
#include "ui_about.h"
using namespace Qt::StringLiterals;
using namespace Qt::Literals::StringLiterals;
About::About(QWidget *parent) : QDialog(parent), ui_{} {

View File

@@ -100,7 +100,7 @@
#include "edittagdialog.h"
#include "ui_edittagdialog.h"
using namespace Qt::StringLiterals;
using namespace Qt::Literals::StringLiterals;
namespace {
constexpr char kTagsDifferentHintText[] = QT_TR_NOOP("(different across multiple songs)");

View File

@@ -35,7 +35,7 @@
#include "errordialog.h"
#include "ui_errordialog.h"
using namespace Qt::StringLiterals;
using namespace Qt::Literals::StringLiterals;
ErrorDialog::ErrorDialog(QWidget *parent)
: QDialog(parent),

View File

@@ -25,7 +25,7 @@
#include "snapdialog.h"
#include "ui_messagedialog.h"
using namespace Qt::StringLiterals;
using namespace Qt::Literals::StringLiterals;
SnapDialog::SnapDialog(QWidget *parent) : MessageDialog(parent) {