Fix minor code issues
This commit is contained in:
@@ -210,6 +210,9 @@ void TranscodeDialog::Cancel() {
|
||||
|
||||
void TranscodeDialog::JobComplete(const QString &input, const QString &output, bool success) {
|
||||
|
||||
Q_UNUSED(input);
|
||||
Q_UNUSED(output);
|
||||
|
||||
(*(success ? &finished_success_ : &finished_failed_))++;
|
||||
queued_--;
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ struct TranscoderPreset {
|
||||
QString codec_mimetype_;
|
||||
QString muxer_mimetype_;
|
||||
};
|
||||
Q_DECLARE_METATYPE(TranscoderPreset);
|
||||
Q_DECLARE_METATYPE(TranscoderPreset)
|
||||
|
||||
class Transcoder : public QObject {
|
||||
Q_OBJECT
|
||||
|
||||
@@ -74,6 +74,7 @@ TranscoderOptionsDialog::~TranscoderOptionsDialog() {
|
||||
}
|
||||
|
||||
void TranscoderOptionsDialog::showEvent(QShowEvent *e) {
|
||||
Q_UNUSED(e);
|
||||
if (options_) {
|
||||
options_->Load();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user