summaryrefslogtreecommitdiff
path: root/src/yuzu/applets/software_keyboard.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-11-20 11:36:47 -0500
committerLioncash <mathew1800@gmail.com>2018-11-20 11:36:50 -0500
commit4dcdd3a837808fbdc1da4d041295fe678fcfdf81 (patch)
tree375e18e916893142b876e687619ec970174b4531 /src/yuzu/applets/software_keyboard.h
parent3fa2b218acefe9ba91378115d3856cd4c6b665e0 (diff)
yuzu/applets/software_keyboard: Override accept() and reject() instead of providing own differently named member functions
Uses Qt's built-in interface instead of rolling our own separate one on top of it. This also fixes a bug in reject() where we were calling accept() instead of reject().
Diffstat (limited to 'src/yuzu/applets/software_keyboard.h')
-rw-r--r--src/yuzu/applets/software_keyboard.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/applets/software_keyboard.h b/src/yuzu/applets/software_keyboard.h
index db3fbae1d9..c63720ba4f 100644
--- a/src/yuzu/applets/software_keyboard.h
+++ b/src/yuzu/applets/software_keyboard.h
@@ -33,8 +33,8 @@ public:
Core::Frontend::SoftwareKeyboardParameters parameters);
~QtSoftwareKeyboardDialog() override;
- void Submit();
- void Reject();
+ void accept() override;
+ void reject() override;
std::u16string GetText() const;
bool GetStatus() const;