Update qt_vmmanager_main.cpp
Fix "Open printer tray" not translated in VM context menu
This commit is contained in:
committed by
GitHub
parent
7b66c825d7
commit
d6c04ecd11
@@ -304,7 +304,7 @@ illegal_chars:
|
||||
}
|
||||
});
|
||||
|
||||
QAction openPrinterFolderAction(tr("Open &printer tray..."));
|
||||
QAction openPrinterFolderAction(tr("Open p&rinter tray..."));
|
||||
contextMenu.addAction(&openPrinterFolderAction);
|
||||
connect(&openPrinterFolderAction, &QAction::triggered, [indexAt] {
|
||||
if (const auto printerDir = indexAt.data(VMManagerModel::Roles::ConfigDir).toString() + QString("/printer/"); !printerDir.isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user