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:
parent
3f206981d9
commit
54d2e8bfdd
@ -15,7 +15,7 @@ public:
|
|||||||
explicit basic_keyboard_handler();
|
explicit basic_keyboard_handler();
|
||||||
|
|
||||||
void SetTargetWindow(QWindow* target);
|
void SetTargetWindow(QWindow* target);
|
||||||
bool eventFilter(QObject* obj, QEvent* ev);
|
bool eventFilter(QObject* obj, QEvent* ev) override;
|
||||||
void keyPressEvent(QKeyEvent* event);
|
void keyPressEvent(QKeyEvent* event);
|
||||||
void keyReleaseEvent(QKeyEvent* event);
|
void keyReleaseEvent(QKeyEvent* event);
|
||||||
void LoadSettings();
|
void LoadSettings();
|
||||||
|
@ -21,7 +21,7 @@ public:
|
|||||||
void MouseScroll(QWheelEvent* event);
|
void MouseScroll(QWheelEvent* event);
|
||||||
void MouseMove(QMouseEvent* event);
|
void MouseMove(QMouseEvent* event);
|
||||||
|
|
||||||
bool eventFilter(QObject* obj, QEvent* ev);
|
bool eventFilter(QObject* obj, QEvent* ev) override;
|
||||||
private:
|
private:
|
||||||
QWindow* m_target = nullptr;
|
QWindow* m_target = nullptr;
|
||||||
};
|
};
|
||||||
|
@ -65,7 +65,7 @@ public:
|
|||||||
void keyReleaseEvent(QKeyEvent* event);
|
void keyReleaseEvent(QKeyEvent* event);
|
||||||
void LoadSettings();
|
void LoadSettings();
|
||||||
|
|
||||||
bool eventFilter(QObject* obj, QEvent* ev);
|
bool eventFilter(QObject* obj, QEvent* ev) override;
|
||||||
private:
|
private:
|
||||||
QWindow* m_target = nullptr;
|
QWindow* m_target = nullptr;
|
||||||
};
|
};
|
||||||
|
@ -84,7 +84,8 @@ instruction_editor_dialog::instruction_editor_dialog(QWidget *parent, u32 _pc, c
|
|||||||
void instruction_editor_dialog::updatePreview()
|
void instruction_editor_dialog::updatePreview()
|
||||||
{
|
{
|
||||||
bool ok;
|
bool ok;
|
||||||
//ulong opcode = t2_instr->text().toULong(&ok, 16);
|
ulong opcode = t2_instr->text().toULong(&ok, 16);
|
||||||
|
Q_UNUSED(opcode);
|
||||||
|
|
||||||
if (ok)
|
if (ok)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user