DolphinQt2/NetPlay: Mark constructors explicit where applicable
This commit is contained in:
parent
dfa1126946
commit
c98a8b59d5
|
@ -17,7 +17,7 @@ class MD5Dialog : public QDialog
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
MD5Dialog(QWidget* parent);
|
explicit MD5Dialog(QWidget* parent);
|
||||||
|
|
||||||
void show(const QString& title);
|
void show(const QString& title);
|
||||||
void SetProgress(int pid, int progress);
|
void SetProgress(int pid, int progress);
|
||||||
|
|
|
@ -30,7 +30,7 @@ class NetPlayDialog : public QDialog, public NetPlayUI
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
NetPlayDialog(QWidget* parent);
|
explicit NetPlayDialog(QWidget* parent);
|
||||||
~NetPlayDialog();
|
~NetPlayDialog();
|
||||||
|
|
||||||
void show(std::string nickname, bool use_traversal);
|
void show(std::string nickname, bool use_traversal);
|
||||||
|
|
|
@ -22,7 +22,7 @@ class NetPlaySetupDialog : public QDialog
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
NetPlaySetupDialog(QWidget* parent);
|
explicit NetPlaySetupDialog(QWidget* parent);
|
||||||
|
|
||||||
void accept() override;
|
void accept() override;
|
||||||
void show();
|
void show();
|
||||||
|
|
Loading…
Reference in New Issue