Skip to content
Snippets Groups Projects
Commit 56259665 authored by bodzsoaa's avatar bodzsoaa
Browse files

Configuration should be a normal C++ class

parent c02fbb6e
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ constexpr quint8 kRgbByteSize{3};
constexpr quint8 kProtocolType{2};
} // namespace
Configuration::Configuration(QObject *parent) : QObject(parent) {
Configuration::Configuration() {
QSettings settings(QSettings::IniFormat, QSettings::UserScope, "matrix-group",
"libmueb");
// Building specific constants
......
......@@ -9,8 +9,7 @@
namespace libmueb {
class Configuration : public QObject {
Q_OBJECT
class Configuration {
Q_DISABLE_COPY(Configuration)
public:
......@@ -57,7 +56,7 @@ class Configuration : public QObject {
quint8 factor_;
bool debug_mode_;
explicit Configuration(QObject* parent = nullptr);
Configuration();
~Configuration() = default;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment