Skip to content
Browse files

Merge pull request #8274 from lioncash/parent

DolphinQt/Config/GameConfigEdit: Pass parent pointer to base class
  • Loading branch information...
leoetlino committed Jul 31, 2019
2 parents dea2b9c + 6e14dcf commit c70da390a76af650a44bdddd8f75083c54cebed6
@@ -21,8 +21,8 @@
#include "DolphinQt/Config/GameConfigHighlighter.h"
#include "DolphinQt/QtUtils/ModalMessageBox.h"

GameConfigEdit::GameConfigEdit(QWidget* parent, const QString& path, bool read_only)
: m_path(path), m_read_only(read_only)
GameConfigEdit::GameConfigEdit(QWidget* parent, QString path, bool read_only)
: QWidget{parent}, m_path(std::move(path)), m_read_only(read_only)

@@ -16,7 +16,7 @@ class QTextEdit;
class GameConfigEdit : public QWidget
explicit GameConfigEdit(QWidget* parent, const QString& path, bool read_only);
explicit GameConfigEdit(QWidget* parent, QString path, bool read_only);

void keyPressEvent(QKeyEvent* e) override;

0 comments on commit c70da39

Please sign in to comment.
You can’t perform that action at this time.