1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2025-01-31 20:41:45 +01:00

Remove some warnings from Linux and fixed something from code review.

This commit is contained in:
Robbie 2017-08-04 22:10:46 -05:00 committed by Ivan
parent 3f206981d9
commit 54d2e8bfdd
5 changed files with 13 additions and 12 deletions

View File

@ -15,7 +15,7 @@ public:
explicit basic_keyboard_handler();
void SetTargetWindow(QWindow* target);
bool eventFilter(QObject* obj, QEvent* ev);
bool eventFilter(QObject* obj, QEvent* ev) override;
void keyPressEvent(QKeyEvent* event);
void keyReleaseEvent(QKeyEvent* event);
void LoadSettings();

View File

@ -21,7 +21,7 @@ public:
void MouseScroll(QWheelEvent* event);
void MouseMove(QMouseEvent* event);
bool eventFilter(QObject* obj, QEvent* ev);
bool eventFilter(QObject* obj, QEvent* ev) override;
private:
QWindow* m_target = nullptr;
};

View File

@ -65,7 +65,7 @@ public:
void keyReleaseEvent(QKeyEvent* event);
void LoadSettings();
bool eventFilter(QObject* obj, QEvent* ev);
bool eventFilter(QObject* obj, QEvent* ev) override;
private:
QWindow* m_target = nullptr;
};

View File

@ -84,7 +84,8 @@ instruction_editor_dialog::instruction_editor_dialog(QWidget *parent, u32 _pc, c
void instruction_editor_dialog::updatePreview()
{
bool ok;
//ulong opcode = t2_instr->text().toULong(&ok, 16);
ulong opcode = t2_instr->text().toULong(&ok, 16);
Q_UNUSED(opcode);
if (ok)
{