From e83bc55fa4f19218955c7f28161dfefd40ab692a Mon Sep 17 00:00:00 2001 From: Jekyll Wu Date: Tue, 6 Sep 2011 16:25:26 +0800 Subject: [PATCH] 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 --- src/ManageProfilesDialog.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ManageProfilesDialog.cpp b/src/ManageProfilesDialog.cpp index 3bf76d544..69f5e562d 100644 --- a/src/ManageProfilesDialog.cpp +++ b/src/ManageProfilesDialog.cpp @@ -306,7 +306,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() {