Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libmueb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
JetBrains YouTrack
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
KSZK
Schönherz Mátrix
libmueb
Commits
56259665
Commit
56259665
authored
4 years ago
by
bodzsoaa
Browse files
Options
Downloads
Patches
Plain Diff
Configuration should be a normal C++ class
parent
c02fbb6e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/configuration.cc
+1
-1
1 addition, 1 deletion
src/configuration.cc
src/configuration.h
+2
-3
2 additions, 3 deletions
src/configuration.h
with
3 additions
and
4 deletions
src/configuration.cc
+
1
−
1
View file @
56259665
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
src/configuration.h
+
2
−
3
View file @
56259665
...
...
@@ -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
;
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment