MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / handleCtrlClickLine

Method handleCtrlClickLine

gui/qt/debugger.cpp:2075–2093  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2073}
2074
2075void 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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected