Skip to content

Commit

Permalink
Rename DatabaseTabWidget::reports to changeReports
Browse files Browse the repository at this point in the history
because it's consistent, not because it's nice.

Fixes keepassxreboot#3993
  • Loading branch information
wolframroesler committed Jan 25, 2020
1 parent 7a1fb06 commit e3548b0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/gui/DatabaseTabWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ void DatabaseTabWidget::changeMasterKey()
currentDatabaseWidget()->switchToMasterKeyChange();
}

void DatabaseTabWidget::reports()
void DatabaseTabWidget::changeReports()
{
currentDatabaseWidget()->switchToReports();
}
Expand Down
2 changes: 1 addition & 1 deletion src/gui/DatabaseTabWidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public slots:
void relockPendingDatabase();

void changeMasterKey();
void reports();
void changeReports();
void changeDatabaseSettings();
void performGlobalAutoType();

Expand Down
2 changes: 1 addition & 1 deletion src/gui/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ MainWindow::MainWindow()
connect(m_ui->actionDatabaseClose, SIGNAL(triggered()), m_ui->tabWidget, SLOT(closeCurrentDatabaseTab()));
connect(m_ui->actionDatabaseMerge, SIGNAL(triggered()), m_ui->tabWidget, SLOT(mergeDatabase()));
connect(m_ui->actionChangeMasterKey, SIGNAL(triggered()), m_ui->tabWidget, SLOT(changeMasterKey()));
connect(m_ui->actionReports, SIGNAL(triggered()), m_ui->tabWidget, SLOT(reports()));
connect(m_ui->actionReports, SIGNAL(triggered()), m_ui->tabWidget, SLOT(changeReports()));
connect(m_ui->actionChangeDatabaseSettings, SIGNAL(triggered()), m_ui->tabWidget, SLOT(changeDatabaseSettings()));
connect(m_ui->actionImportCsv, SIGNAL(triggered()), m_ui->tabWidget, SLOT(importCsv()));
connect(m_ui->actionImportKeePass1, SIGNAL(triggered()), m_ui->tabWidget, SLOT(importKeePass1Database()));
Expand Down

0 comments on commit e3548b0

Please sign in to comment.