Use Qt::Literals::StringLiterals
This commit is contained in:
@@ -67,7 +67,7 @@
|
||||
#include "ui_transcodedialog.h"
|
||||
#include "ui_transcodelogdialog.h"
|
||||
|
||||
using namespace Qt::StringLiterals;
|
||||
using namespace Qt::Literals::StringLiterals;
|
||||
|
||||
// winspool.h defines this :(
|
||||
#ifdef AddJob
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
#include "core/settings.h"
|
||||
#include "transcoder.h"
|
||||
|
||||
using namespace Qt::StringLiterals;
|
||||
using namespace Qt::Literals::StringLiterals;
|
||||
using std::make_shared;
|
||||
|
||||
int Transcoder::JobFinishedEvent::sEventType = -1;
|
||||
|
||||
@@ -39,8 +39,6 @@
|
||||
#include "core/shared_ptr.h"
|
||||
#include "core/song.h"
|
||||
|
||||
using namespace Qt::Literals::StringLiterals;
|
||||
|
||||
struct TranscoderPreset {
|
||||
explicit TranscoderPreset() : filetype_(Song::FileType::Unknown) {}
|
||||
TranscoderPreset(const Song::FileType filetype, const QString &name, const QString &extension, const QString &codec_mimetype, const QString &muxer_mimetype_ = QString());
|
||||
@@ -57,7 +55,7 @@ class Transcoder : public QObject {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit Transcoder(QObject *parent = nullptr, const QString &settings_postfix = ""_L1);
|
||||
explicit Transcoder(QObject *parent = nullptr, const QString &settings_postfix = QLatin1String(""));
|
||||
|
||||
static TranscoderPreset PresetForFileType(const Song::FileType filetype);
|
||||
static QList<TranscoderPreset> GetAllPresets();
|
||||
|
||||
Reference in New Issue
Block a user