mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-05 00:42:48 +00:00
Update gui_context_menus.h
This commit is contained in:
parent
2e292445d1
commit
c4b38557e5
@ -77,13 +77,13 @@ public:
|
|||||||
QMenu* copyMenu = new QMenu(tr("Copy info..."), widget);
|
QMenu* copyMenu = new QMenu(tr("Copy info..."), widget);
|
||||||
QAction* copyName = new QAction(tr("Copy Name"), widget);
|
QAction* copyName = new QAction(tr("Copy Name"), widget);
|
||||||
QAction* copySerial = new QAction(tr("Copy Serial"), widget);
|
QAction* copySerial = new QAction(tr("Copy Serial"), widget);
|
||||||
QAction* copyFirmware = new QAction(tr("Copy Firmware"), widget);
|
QAction* copyFirmware = new QAction(tr("Copy Version"), widget);
|
||||||
QAction* copySize = new QAction(tr("Copy Size"), widget);
|
QAction* copySize = new QAction(tr("Copy Size"), widget);
|
||||||
QAction* copyNameAll = new QAction(tr("Copy All"), widget);
|
QAction* copyNameAll = new QAction(tr("Copy All"), widget);
|
||||||
|
|
||||||
copyMenu->addAction(copyName);
|
copyMenu->addAction(copyName);
|
||||||
copyMenu->addAction(copySerial);
|
copyMenu->addAction(copySerial);
|
||||||
copyMenu->addAction(copyFirmware);
|
copyMenu->addAction(copyVersion);
|
||||||
copyMenu->addAction(copySize);
|
copyMenu->addAction(copySize);
|
||||||
copyMenu->addAction(copyNameAll);
|
copyMenu->addAction(copyNameAll);
|
||||||
|
|
||||||
@ -351,7 +351,7 @@ public:
|
|||||||
clipboard->setText(QString::fromStdString(m_games[itemID].serial));
|
clipboard->setText(QString::fromStdString(m_games[itemID].serial));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (selected == copyFirmware) {
|
if (selected == copyVersion) {
|
||||||
QClipboard* clipboard = QGuiApplication::clipboard();
|
QClipboard* clipboard = QGuiApplication::clipboard();
|
||||||
clipboard->setText(QString::fromStdString(m_games[itemID].version));
|
clipboard->setText(QString::fromStdString(m_games[itemID].version));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user