Skip to content

Commit 7c70db1

Browse files
committed
Commented out unused break on exceed counter widgets that will later be removed.
1 parent 91298bb commit 7c70db1

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

src/drivers/Qt/ConsoleDebugger.cpp

+4-5
Original file line numberDiff line numberDiff line change
@@ -654,13 +654,12 @@ ConsoleDebugger::ConsoleDebugger(QWidget *parent)
654654
//cpuCyclesLbl2 = new QLabel( tr("(+0):") );
655655
cpuCyclesVal = new QLineEdit( tr("(+0):") );
656656
cpuInstrsLbl1 = new QLabel( tr("Instructions:") );
657-
cpuInstrsLbl2 = new QLabel( tr("(+0):") );
658657
//cpuInstrsLbl2 = new QLabel( tr("(+0):") );
659658
cpuInstrsVal = new QLineEdit( tr("(+0):") );
660-
brkCpuCycExd = new QCheckBox( tr("Break when Exceed") );
661-
brkInstrsExd = new QCheckBox( tr("Break when Exceed") );
662-
cpuCycExdVal = new QLineEdit( tr("0") );
663-
instrExdVal = new QLineEdit( tr("0") );
659+
//brkCpuCycExd = new QCheckBox( tr("Break when Exceed") );
660+
//brkInstrsExd = new QCheckBox( tr("Break when Exceed") );
661+
//cpuCycExdVal = new QLineEdit( tr("0") );
662+
//instrExdVal = new QLineEdit( tr("0") );
664663

665664
cpuCyclesVal->setFont(font);
666665
cpuCyclesVal->setReadOnly(true);

src/drivers/Qt/ConsoleDebugger.h

+5-5
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,8 @@ class ConsoleDebugger : public QDialog
248248
QLineEdit *regAEntry;
249249
QLineEdit *regXEntry;
250250
QLineEdit *regYEntry;
251-
QLineEdit *cpuCycExdVal;
252-
QLineEdit *instrExdVal;
251+
//QLineEdit *cpuCycExdVal;
252+
//QLineEdit *instrExdVal;
253253
QLineEdit *selBmAddr;
254254
QLineEdit *cpuCyclesVal;
255255
QLineEdit *cpuInstrsVal;
@@ -267,8 +267,8 @@ class ConsoleDebugger : public QDialog
267267
QCheckBox *I_chkbox;
268268
QCheckBox *Z_chkbox;
269269
QCheckBox *C_chkbox;
270-
QCheckBox *brkCpuCycExd;
271-
QCheckBox *brkInstrsExd;
270+
//QCheckBox *brkCpuCycExd;
271+
//QCheckBox *brkInstrsExd;
272272
QLabel *emuStatLbl;
273273
QLabel *ppuLbl;
274274
QLabel *spriteLbl;
@@ -277,7 +277,7 @@ class ConsoleDebugger : public QDialog
277277
QLabel *cpuCyclesLbl1;
278278
//QLabel *cpuCyclesLbl2;
279279
QLabel *cpuInstrsLbl1;
280-
QLabel *cpuInstrsLbl2;
280+
//QLabel *cpuInstrsLbl2;
281281
QTimer *periodicTimer;
282282
QFont font;
283283

0 commit comments

Comments
 (0)