Save it...

This commit is contained in:
Martin Rotter 2014-01-18 20:44:42 +01:00
parent d0c0234261
commit 0c26e31f29
2 changed files with 4 additions and 2 deletions

View File

@ -21,8 +21,6 @@ MessagesProxyModel::~MessagesProxyModel() {
qDebug("Destroying MessagesProxyModel instance.");
}
bool MessagesProxyModel::lessThan(const QModelIndex &left, const QModelIndex &right) const {
// TODO: Maybe use QString::localeAwareCompare() here for
// title at least, but this will be probably little slower

View File

@ -108,6 +108,10 @@ void FeedsView::deleteSelectedItem() {
}
if (selection_model->selectedRows().size() > 1) {
// pridat BalloonTip z qonverteru a tady
// ho odpalit pokud todle nastane
// s hlaskou "More than one item selected, removing
// only current one."
selection_model->clearSelection();
selection_model->select(current_index, QItemSelectionModel::Rows | QItemSelectionModel::SelectCurrent);
}