aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/General/converter/converter.cpp7
-rw-r--r--src/plugins/General/converter/converter.h10
2 files changed, 6 insertions, 11 deletions
diff --git a/src/plugins/General/converter/converter.cpp b/src/plugins/General/converter/converter.cpp
index 8466405cb..63ffcc581 100644
--- a/src/plugins/General/converter/converter.cpp
+++ b/src/plugins/General/converter/converter.cpp
@@ -34,12 +34,7 @@
#include "converter.h"
Converter::Converter(QObject *parent) : QObject(parent), QRunnable()
-{
- m_user_stop = false;
- m_decoder = nullptr;
- m_input = nullptr;
- m_row = -1;
-}
+{}
Converter::~Converter()
{
diff --git a/src/plugins/General/converter/converter.h b/src/plugins/General/converter/converter.h
index 482315d55..2726756b3 100644
--- a/src/plugins/General/converter/converter.h
+++ b/src/plugins/General/converter/converter.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2011-2016 by Ilya Kotov *
+ * Copyright (C) 2011-2020 by Ilya Kotov *
* forkotov02@ya.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -54,12 +54,12 @@ signals:
private:
void run() override;
bool convert(Decoder *decoder, FILE *file, bool use16bit);
- Decoder *m_decoder;
- InputSource *m_input;
+ Decoder *m_decoder = nullptr;
+ InputSource *m_input = nullptr;
QVariantMap m_preset;
QMutex m_mutex;
- bool m_user_stop;
- int m_row;
+ bool m_user_stop = false;
+ int m_row = - 1;
};