Commit 57412dce authored by Jekyll Wu's avatar Jekyll Wu
Browse files

comment out unused variable rowIndex.

parent e83bc55f
......@@ -293,7 +293,7 @@ void ManageProfilesDialog::tableSelectionChanged(const QItemSelection&)
const bool isNotDefault = (selectedRows > 0) && currentProfile() != manager->defaultProfile();
const bool isDeletable = (selectedRows > 1) ||
(selectedRows == 1 && isProfileDeletable(currentProfile()));
const int rowIndex = _ui->sessionTable->currentIndex().row();
//const int rowIndex = _ui->sessionTable->currentIndex().row();
_ui->newSessionButton->setEnabled(selectedRows < 2);
_ui->editSessionButton->setEnabled(selectedRows > 0);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment