citra-qt: Make constructors explicit where applicable
This commit is contained in:
parent
327b23e4ce
commit
d0e4d1182b
15 changed files with 35 additions and 32 deletions
|
@ -18,7 +18,8 @@ class SurfacePicture : public QLabel {
|
|||
Q_OBJECT
|
||||
|
||||
public:
|
||||
SurfacePicture(QWidget* parent = 0, GraphicsSurfaceWidget* surface_widget = nullptr);
|
||||
explicit SurfacePicture(QWidget* parent = nullptr,
|
||||
GraphicsSurfaceWidget* surface_widget = nullptr);
|
||||
~SurfacePicture();
|
||||
|
||||
protected slots:
|
||||
|
@ -71,8 +72,8 @@ class GraphicsSurfaceWidget : public BreakPointObserverDock {
|
|||
static unsigned int NibblesPerPixel(Format format);
|
||||
|
||||
public:
|
||||
GraphicsSurfaceWidget(std::shared_ptr<Pica::DebugContext> debug_context,
|
||||
QWidget* parent = nullptr);
|
||||
explicit GraphicsSurfaceWidget(std::shared_ptr<Pica::DebugContext> debug_context,
|
||||
QWidget* parent = nullptr);
|
||||
void Pick(int x, int y);
|
||||
|
||||
public slots:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue