summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJekyll Wu <adaptee@gmail.com>2011-09-06 08:25:26 (GMT)
committerKurt Hindenburg <kurt.hindenburg@gmail.com>2011-09-15 15:40:19 (GMT)
commit0263433e57f8a2ccea11736ae90d418cbeafba89 (patch)
tree1d0f36f0eacbc869b9aa6ebf59b2cb7641f008af
parent000f84299c00e782dda75244d5daf35e1c88794c (diff)
Do not call selectedRow() at the end of tableSelectionChanged().
That line will cause infinite growing stack when Ctrl+A is pressed and finally make konsole crash . BUG: 281375 FIXED-IN: 4.8 (cherry picked from commit e83bc55fa4f19218955c7f28161dfefd40ab692a)
-rw-r--r--src/ManageProfilesDialog.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ManageProfilesDialog.cpp b/src/ManageProfilesDialog.cpp
index 78c1481..0fe4c89 100644
--- a/src/ManageProfilesDialog.cpp
+++ b/src/ManageProfilesDialog.cpp
@@ -285,7 +285,6 @@ void ManageProfilesDialog::tableSelectionChanged(const QItemSelection&)
// _ui->moveUpButton->setEnabled((selectedRows == 1) && (rowIndex > 0));
// _ui->moveDownButton->setEnabled((selectedRows == 1) && (rowIndex < (_sessionModel->rowCount()-1)));
- _ui->sessionTable->selectRow(rowIndex);
}
void ManageProfilesDialog::deleteSelected()
{