| 2073 | } |
| 2074 | |
| 2075 | void MainWindow::handleCtrlClickLine(QLineEdit *edit) { |
| 2076 | if (QApplication::keyboardModifiers().testFlag(Qt::ControlModifier)) { |
| 2077 | bool ok = true; |
| 2078 | |
| 2079 | edit->blockSignals(true); |
| 2080 | |
| 2081 | uint32_t address = edit->text().toUInt(&ok, 16); |
| 2082 | |
| 2083 | if (ok) { |
| 2084 | if (QApplication::keyboardModifiers().testFlag(Qt::ShiftModifier)) { |
| 2085 | gotoMemAddr(address); |
| 2086 | } else { |
| 2087 | gotoDisasmAddr(address); |
| 2088 | } |
| 2089 | } |
| 2090 | |
| 2091 | edit->blockSignals(false); |
| 2092 | } |
| 2093 | } |
| 2094 | |
| 2095 | // ------------------------------------------------ |
| 2096 | // Tooltips |
nothing calls this directly
no outgoing calls
no test coverage detected