Formatting
This commit is contained in:
@@ -72,11 +72,11 @@ using namespace Qt::Literals::StringLiterals;
|
||||
namespace {
|
||||
constexpr int kProgressInterval = 500;
|
||||
constexpr int kMaxDestinationItems = 10;
|
||||
}
|
||||
} // namespace
|
||||
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Warray-bounds"
|
||||
# pragma GCC diagnostic push
|
||||
# pragma GCC diagnostic ignored "-Warray-bounds"
|
||||
#endif
|
||||
|
||||
static bool ComparePresetsByName(const TranscoderPreset &left, const TranscoderPreset &right) {
|
||||
@@ -500,5 +500,5 @@ QString TranscodeDialog::GetOutputFileName(const QString &input_filepath, const
|
||||
}
|
||||
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic pop
|
||||
# pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
@@ -106,6 +106,7 @@ class Transcoder : public QObject {
|
||||
Transcoder *parent_;
|
||||
GstElement *pipeline_;
|
||||
GstElement *convert_element_;
|
||||
|
||||
private:
|
||||
Q_DISABLE_COPY(JobState)
|
||||
};
|
||||
@@ -118,6 +119,7 @@ class Transcoder : public QObject {
|
||||
|
||||
JobState *state_;
|
||||
bool success_;
|
||||
|
||||
private:
|
||||
Q_DISABLE_COPY(JobFinishedEvent)
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user