implements: Delete log files with the Del button of the keyboard (#122)

This commit is contained in:
doitux
2012-03-27 09:56:24 +00:00
parent 9ee82a05c5
commit 4888c68199
2 changed files with 10 additions and 0 deletions
@@ -1465,3 +1465,12 @@ void settingsDialogImpl::resetSettings()
}
}
void settingsDialogImpl::keyPressEvent ( QKeyEvent * event )
{
if (event->key() == Qt::Key_Delete ) { /*Delete*/
if(treeWidget_logFiles->hasFocus()) {
pushButton_deleteLog->click();
}
}
}