Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

According to the Qt documentation for the enum Qt::Modifier, "This enum provides shorter names for the keyboard modifier keys supported by Qt.". Also stated on that page under the description of the KeyboardModifiers is this statement: "Note: On Windows Keyboards, Qt::MetaModifier and Qt::Key_Meta are mapped to the Windows key.", and we can in the enum Qt::Key description the following, which confirms this:

Qt::Key_Meta    0x01000022  On macOS, this corresponds to the Control keys. On Windows keyboards, this key is mapped to the Windows key.

In other words, in ui/qt/main_window_slots.cpp:MainWindow::updateRecentCaptures(), the Qt::META key should be the Windows key. This doesn't appear to actually work though. I'd recommend filing a Wireshark bug report for this.