mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
InputBar: mark constrictor as explicit
Suggested-By: Clang-Tidy: Single-argument constructors must be marked explicit to avoid unintentional implicit conversions More info: https://clang.llvm.org/extra/clang-tidy/checks/google-explicit-constructor.html
This commit is contained in:
parent
8aa4a60d12
commit
9676b7709d
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ class InputBar : public QObject
|
||||||
Q_PROPERTY(QString text READ text NOTIFY textChanged)
|
Q_PROPERTY(QString text READ text NOTIFY textChanged)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
InputBar(TimelineModel *parent)
|
explicit InputBar(TimelineModel *parent)
|
||||||
: QObject()
|
: QObject()
|
||||||
, room(parent)
|
, room(parent)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue