diff --git a/localization/rssguard_cs.ts b/localization/rssguard_cs.ts index 2acab2545..0d077f8c1 100644 --- a/localization/rssguard_cs.ts +++ b/localization/rssguard_cs.ts @@ -193,7 +193,7 @@ <body>RSS Guard is a (very) tiny feed reader.<br><br>This software is distributed under the terms of GNU General Public License, version 3.<br><br>Contacts:<ul><li><a href="mailto://%1">%1</a> ~email</li><li><a href="%2">%2</a> ~website</li></ul>You can obtain source code for RSS Guard from its website.<br><br><br>Copyrigh (C) 2011-%3 %4</body> - <body>RSS Guard je (velmi) jednoduchá čtečka kanálů.<br><br>Tento software je šířen pod licencí GNU General Public License, verze 3.<br><br>Kontakty:<ul><li><a href="mailto://%1">%1</a> ~email</li><li><a href="%2">%2</a> ~webová stránka</li></ul>Zdrojové kódy aplikace lze získat z jejího web.u<br><br><br>Copyright (C) 2011-%3 %4</body> + <body>RSS Guard je (velmi) jednoduchá čtečka kanálů.<br><br>Tento software je šířen pod licencí GNU General Public License, verze 3.<br><br>Kontakty:<ul><li><a href="mailto://%1">%1</a> ~email</li><li><a href="%2">%2</a> ~webová stránka</li></ul>Zdrojové kódy aplikace lze získat z jejího webu.<br><br><br>Copyright (C) 2011-%3 %4</body> @@ -1353,7 +1353,7 @@ Autoři této aplikace nenesou žádnou odpovědnost za ztrátu Vašich dat. minutes - minut + minut Auto-update diff --git a/src/gui/feedsview.cpp b/src/gui/feedsview.cpp index 15ae7a82a..d33dcb580 100644 --- a/src/gui/feedsview.cpp +++ b/src/gui/feedsview.cpp @@ -471,7 +471,7 @@ void FeedsView::updateCountsOfParticularFeed(FeedsModelFeed *feed, } void FeedsView::selectNextItem() { - QModelIndex index_next = index_next = moveCursor(QAbstractItemView::MoveDown, Qt::NoModifier); + QModelIndex index_next = moveCursor(QAbstractItemView::MoveDown, Qt::NoModifier); if (index_next.isValid()) { setCurrentIndex(index_next); @@ -480,7 +480,7 @@ void FeedsView::selectNextItem() { } void FeedsView::selectPreviousItem() { - QModelIndex index_previous = index_previous = moveCursor(QAbstractItemView::MoveUp, Qt::NoModifier); + QModelIndex index_previous = moveCursor(QAbstractItemView::MoveUp, Qt::NoModifier); if (index_previous.isValid()) { setCurrentIndex(index_previous); diff --git a/src/gui/formstandardfeeddetails.cpp b/src/gui/formstandardfeeddetails.cpp index 3666393c8..4ea04cf10 100644 --- a/src/gui/formstandardfeeddetails.cpp +++ b/src/gui/formstandardfeeddetails.cpp @@ -253,7 +253,8 @@ void FormStandardFeedDetails::guessFeed() { m_ui->m_txtTitle->lineEdit()->setText(result.first->title()); m_ui->m_txtDescription->lineEdit()->setText(result.first->description()); m_ui->m_cmbType->setCurrentIndex(m_ui->m_cmbType->findData(QVariant::fromValue((int) result.first->type()))); - m_ui->m_cmbEncoding->setCurrentIndex(m_ui->m_cmbEncoding->findData(result.first->encoding(), Qt::DisplayRole)); + m_ui->m_cmbEncoding->setCurrentIndex(m_ui->m_cmbEncoding->findText(result.first->encoding(), + Qt::MatchFixedString)); m_ui->m_lblFetchMetadata->setStatus(WidgetWithStatus::Ok, tr("Feed metadata fetched successfully.")); diff --git a/src/gui/messagesview.cpp b/src/gui/messagesview.cpp index 18200077f..7bd65c522 100644 --- a/src/gui/messagesview.cpp +++ b/src/gui/messagesview.cpp @@ -369,7 +369,7 @@ void MessagesView::reselectIndexes(const QModelIndexList &indexes) { } void MessagesView::selectNextItem() { - QModelIndex index_next = index_next = moveCursor(QAbstractItemView::MoveDown, Qt::NoModifier); + QModelIndex index_next = moveCursor(QAbstractItemView::MoveDown, Qt::NoModifier); if (index_next.isValid()) { setCurrentIndex(index_next); @@ -378,7 +378,7 @@ void MessagesView::selectNextItem() { } void MessagesView::selectPreviousItem() { - QModelIndex index_previous = index_previous = moveCursor(QAbstractItemView::MoveUp, Qt::NoModifier); + QModelIndex index_previous = moveCursor(QAbstractItemView::MoveUp, Qt::NoModifier); if (index_previous.isValid()) { setCurrentIndex(index_previous);