mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-20 19:57:45 +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 {
|
||||
Q_OBJECT
|
||||
public:
|
||||
VirtualDialog(DesktopInterface& interface, QWidget* parent = nullptr);
|
||||
explicit VirtualDialog(DesktopInterface& interface, QWidget* parent = nullptr);
|
||||
|
||||
void setWindowTitle(const QString& title);
|
||||
void show();
|
||||
|
|
|
@ -9,7 +9,7 @@ class DesktopInterface;
|
|||
class VirtualWindow : public QObject {
|
||||
Q_OBJECT
|
||||
public:
|
||||
VirtualWindow(DesktopInterface& interface, QWidget* parent = nullptr);
|
||||
explicit VirtualWindow(DesktopInterface& interface, QWidget* parent = nullptr);
|
||||
|
||||
void setWindowTitle(const QString& title);
|
||||
void setCentralWidget(QWidget* widget);
|
||||
|
|
Loading…
Add table
Reference in a new issue