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)
|
||||||
{
|
{
|
||||||
|
@ -103,7 +103,7 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> xSettings, const
|
|||||||
// _____ _____ _ _ _______ _
|
// _____ _____ _ _ _______ _
|
||||||
// / ____| __ \| | | | |__ __| | |
|
// / ____| __ \| | | | |__ __| | |
|
||||||
// | | | |__) | | | | | | __ _| |__
|
// | | | |__) | | | | | | __ _| |__
|
||||||
// | | | ___/| | | | | |/ _` | '_ \
|
// | | | ___/| | | | | |/ _` | '_ \
|
||||||
// | |____| | | |__| | | | (_| | |_) |
|
// | |____| | | |__| | | | (_| | |_) |
|
||||||
// \_____|_| \____/ |_|\__,_|_.__/
|
// \_____|_| \____/ |_|\__,_|_.__/
|
||||||
|
|
||||||
@ -366,7 +366,7 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> xSettings, const
|
|||||||
// _____ _____ _ _ _______ _
|
// _____ _____ _ _ _______ _
|
||||||
// / ____| __ \| | | | |__ __| | |
|
// / ____| __ \| | | | |__ __| | |
|
||||||
// | | __| |__) | | | | | | __ _| |__
|
// | | __| |__) | | | | | | __ _| |__
|
||||||
// | | |_ | ___/| | | | | |/ _` | '_ \
|
// | | |_ | ___/| | | | | |/ _` | '_ \
|
||||||
// | |__| | | | |__| | | | (_| | |_) |
|
// | |__| | | | |__| | | | (_| | |_) |
|
||||||
// \_____|_| \____/ |_|\__,_|_.__/
|
// \_____|_| \____/ |_|\__,_|_.__/
|
||||||
|
|
||||||
@ -586,7 +586,7 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> xSettings, const
|
|||||||
// _ _ _______ _
|
// _ _ _______ _
|
||||||
// /\ | (_) |__ __| | |
|
// /\ | (_) |__ __| | |
|
||||||
// / \ _ _ __| |_ ___ | | __ _| |__
|
// / \ _ _ __| |_ ___ | | __ _| |__
|
||||||
// / /\ \| | | |/ _` | |/ _ \ | |/ _` | '_ \
|
// / /\ \| | | |/ _` | |/ _ \ | |/ _` | '_ \
|
||||||
// / ____ \ |_| | (_| | | (_) | | | (_| | |_) |
|
// / ____ \ |_| | (_| | | (_) | | | (_| | |_) |
|
||||||
// /_/ \_\__,_|\__,_|_|\___/ |_|\__,_|_.__/
|
// /_/ \_\__,_|\__,_|_|\___/ |_|\__,_|_.__/
|
||||||
|
|
||||||
@ -609,7 +609,7 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> xSettings, const
|
|||||||
// _____ __ ____ _______ _
|
// _____ __ ____ _______ _
|
||||||
// |_ _| / / / __ \ |__ __| | |
|
// |_ _| / / / __ \ |__ __| | |
|
||||||
// | | / / | | | | | | __ _| |__
|
// | | / / | | | | | | __ _| |__
|
||||||
// | | / / | | | | | |/ _` | '_ \
|
// | | / / | | | | | |/ _` | '_ \
|
||||||
// _| |_ / / | |__| | | | (_| | |_) |
|
// _| |_ / / | |__| | | | (_| | |_) |
|
||||||
// |_____| /_/ \____/ |_|\__,_|_.__/
|
// |_____| /_/ \____/ |_|\__,_|_.__/
|
||||||
|
|
||||||
@ -633,7 +633,7 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> xSettings, const
|
|||||||
// _____ _ _______ _
|
// _____ _ _______ _
|
||||||
// / ____| | | |__ __| | |
|
// / ____| | | |__ __| | |
|
||||||
// | (___ _ _ ___| |_ ___ _ __ ___ | | __ _| |__
|
// | (___ _ _ ___| |_ ___ _ __ ___ | | __ _| |__
|
||||||
// \___ \| | | / __| __/ _ \ '_ ` _ \ | |/ _` | '_ \
|
// \___ \| | | / __| __/ _ \ '_ ` _ \ | |/ _` | '_ \
|
||||||
// ____) | |_| \__ \ || __/ | | | | | | | (_| | |_) |
|
// ____) | |_| \__ \ || __/ | | | | | | | (_| | |_) |
|
||||||
// |_____/ \__, |___/\__\___|_| |_| |_| |_|\__,_|_.__/
|
// |_____/ \__, |___/\__\___|_| |_| |_| |_|\__,_|_.__/
|
||||||
// __/ |
|
// __/ |
|
||||||
@ -652,7 +652,7 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> xSettings, const
|
|||||||
// _ _ _ _ _______ _
|
// _ _ _ _ _______ _
|
||||||
// | \ | | | | | | |__ __| | |
|
// | \ | | | | | | |__ __| | |
|
||||||
// | \| | ___| |___ _____ _ __| | __ | | __ _| |__
|
// | \| | ___| |___ _____ _ __| | __ | | __ _| |__
|
||||||
// | . ` |/ _ \ __\ \ /\ / / _ \| '__| |/ / | |/ _` | '_ \
|
// | . ` |/ _ \ __\ \ /\ / / _ \| '__| |/ / | |/ _` | '_ \
|
||||||
// | |\ | __/ |_ \ V V / (_) | | | < | | (_| | |_) |
|
// | |\ | __/ |_ \ V V / (_) | | | < | | (_| | |_) |
|
||||||
// |_| \_|\___|\__| \_/\_/ \___/|_| |_|\_\ |_|\__,_|_.__/
|
// |_| \_|\___|\__| \_/\_/ \___/|_| |_|\_\ |_|\__,_|_.__/
|
||||||
|
|
||||||
@ -664,7 +664,7 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> xSettings, const
|
|||||||
// ______ _ _ _______ _
|
// ______ _ _ _______ _
|
||||||
// | ____| | | | | |__ __| | |
|
// | ____| | | | | |__ __| | |
|
||||||
// | |__ _ __ ___ _ _| | __ _| |_ ___ _ __ | | __ _| |__
|
// | |__ _ __ ___ _ _| | __ _| |_ ___ _ __ | | __ _| |__
|
||||||
// | __| | '_ ` _ \| | | | |/ _` | __/ _ \| '__| | |/ _` | '_ \
|
// | __| | '_ ` _ \| | | | |/ _` | __/ _ \| '__| | |/ _` | '_ \
|
||||||
// | |____| | | | | | |_| | | (_| | || (_) | | | | (_| | |_) |
|
// | |____| | | | | | |_| | | (_| | || (_) | | | | (_| | |_) |
|
||||||
// |______|_| |_| |_|\__,_|_|\__,_|\__\___/|_| |_|\__,_|_.__/
|
// |______|_| |_| |_|\__,_|_|\__,_|\__\___/|_| |_|\__,_|_.__/
|
||||||
|
|
||||||
@ -822,7 +822,7 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> xSettings, const
|
|||||||
// _____ _ _______ _
|
// _____ _ _______ _
|
||||||
// | __ \ | | |__ __| | |
|
// | __ \ | | |__ __| | |
|
||||||
// | | | | ___| |__ _ _ __ _ | | __ _| |__
|
// | | | | ___| |__ _ _ __ _ | | __ _| |__
|
||||||
// | | | |/ _ \ '_ \| | | |/ _` | | |/ _` | '_ \
|
// | | | |/ _ \ '_ \| | | |/ _` | | |/ _` | '_ \
|
||||||
// | |__| | __/ |_) | |_| | (_| | | | (_| | |_) |
|
// | |__| | __/ |_) | |_| | (_| | | | (_| | |_) |
|
||||||
// |_____/ \___|_.__/ \__,_|\__, | |_|\__,_|_.__/
|
// |_____/ \___|_.__/ \__,_|\__, | |_|\__,_|_.__/
|
||||||
// __/ |
|
// __/ |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user