Skip to content

Commit

Permalink
add Q_OBJECT
Browse files Browse the repository at this point in the history
  • Loading branch information
ddanilov committed Jan 7, 2024
1 parent 4c8ce01 commit 39ed473
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/IconLabel.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Denis Danilov
// SPDX-FileCopyrightText: 2022-2024 Denis Danilov
// SPDX-License-Identifier: GPL-3.0-only

#pragma once
Expand All @@ -7,6 +7,8 @@

class IconLabel : public QLabel
{
Q_OBJECT

public:
explicit IconLabel(const QString& icon_file, QWidget* parent = nullptr);
};
4 changes: 3 additions & 1 deletion src/PositionSlider.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Denis Danilov
// SPDX-FileCopyrightText: 2022-2024 Denis Danilov
// SPDX-License-Identifier: GPL-3.0-only

#pragma once
Expand All @@ -7,6 +7,8 @@

class PositionSlider : public QSlider
{
Q_OBJECT

public:
explicit PositionSlider(QWidget* parent = nullptr);
};

0 comments on commit 39ed473

Please sign in to comment.