Skip to content

Commit

Permalink
Update mainwindow.cpp: rename reports menu to reportsMenu
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchcamza committed Jul 18, 2024
1 parent b56537e commit 7ef2e02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions COS3711-02-04/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ void MainWindow::setupUI(QMainWindow *mainApplicationWindow)
editMenu->addAction(actionAddAttendee);

// Reports Menu
QMenu *reports = menuBar->addMenu(tr("&Reports"));
reports->addAction(actionGetTotalFees);
reports->addAction(actionGetNumberOfAttendeesForAffiliation);
QMenu *reportsMenu = menuBar->addMenu(tr("&Reports"));
reportsMenu->addAction(actionGetTotalFees);
reportsMenu->addAction(actionGetNumberOfAttendeesForAffiliation);

// Help Menu
QMenu *helpMenu = menuBar->addMenu(tr("&Help"));
Expand Down

0 comments on commit 7ef2e02

Please sign in to comment.