mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-21 04:07:46 +00:00
USe explicit constructors in virtual window classes
This commit is contained in:
parent
e9e46dd60f
commit
7ca9f0bf7c
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ class DesktopInterface;
|
||||||
class VirtualDialog : public QObject {
|
class VirtualDialog : public QObject {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
VirtualDialog(DesktopInterface& interface, QWidget* parent = nullptr);
|
explicit VirtualDialog(DesktopInterface& interface, QWidget* parent = nullptr);
|
||||||
|
|
||||||
void setWindowTitle(const QString& title);
|
void setWindowTitle(const QString& title);
|
||||||
void show();
|
void show();
|
||||||
|
|
|
@ -9,7 +9,7 @@ class DesktopInterface;
|
||||||
class VirtualWindow : public QObject {
|
class VirtualWindow : public QObject {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
VirtualWindow(DesktopInterface& interface, QWidget* parent = nullptr);
|
explicit VirtualWindow(DesktopInterface& interface, QWidget* parent = nullptr);
|
||||||
|
|
||||||
void setWindowTitle(const QString& title);
|
void setWindowTitle(const QString& title);
|
||||||
void setCentralWidget(QWidget* widget);
|
void setCentralWidget(QWidget* widget);
|
||||||
|
|
Loading…
Add table
Reference in a new issue