mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Merge pull request #11687 from Minty-Meeo/warnings
Resolve GCC/Clang Warnings
This commit is contained in:
@ -891,7 +891,7 @@ void MemoryViewWidget::OnContextMenu(const QPoint& pos)
|
||||
auto* copy_hex = menu->addAction(tr("Copy Hex"), this, [this, addr] { OnCopyHex(addr); });
|
||||
copy_hex->setEnabled(item_has_value);
|
||||
|
||||
auto* copy_value = menu->addAction(tr("Copy Value"), this, [this, item_selected] {
|
||||
auto* copy_value = menu->addAction(tr("Copy Value"), this, [item_selected] {
|
||||
QApplication::clipboard()->setText(item_selected->text());
|
||||
});
|
||||
copy_value->setEnabled(item_has_value);
|
||||
|
@ -143,7 +143,7 @@ int main(int argc, char* argv[])
|
||||
// code, which makes mouse inputs work again.
|
||||
// For more information: https://bugs.dolphin-emu.org/issues/12913
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(6, 3, 0))
|
||||
putenv("QT_XCB_NO_XI2=1");
|
||||
setenv("QT_XCB_NO_XI2", "1", true);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user