diff --git a/resources/desktop/com.github.rssguard.appdata.xml b/resources/desktop/com.github.rssguard.appdata.xml
index 04b6f2fd1..953ed2327 100644
--- a/resources/desktop/com.github.rssguard.appdata.xml
+++ b/resources/desktop/com.github.rssguard.appdata.xml
@@ -30,7 +30,7 @@
https://martinrotter.github.io/donate/
-
+
none
diff --git a/src/librssguard/gui/messagesview.cpp b/src/librssguard/gui/messagesview.cpp
index 2e28aa6bb..e62cdf2a7 100644
--- a/src/librssguard/gui/messagesview.cpp
+++ b/src/librssguard/gui/messagesview.cpp
@@ -58,7 +58,7 @@ QByteArray MessagesView::saveHeaderState() const {
outt.setVersion(QDataStream::Version::Qt_4_7);
outt << header()->count();
- outt << header()->sortIndicatorOrder();
+ outt << int(header()->sortIndicatorOrder());
outt << header()->sortIndicatorSection();
// Save column data.
@@ -84,7 +84,7 @@ void MessagesView::restoreHeaderState(const QByteArray& dta) {
return;
}
- Qt::SortOrder saved_sort_order; inn >> saved_sort_order;
+ int saved_sort_order; inn >> saved_sort_order;
int saved_sort_column; inn >> saved_sort_column;
for (int i = 0; i < saved_header_count && i < header()->count(); i++) {
@@ -104,7 +104,7 @@ void MessagesView::restoreHeaderState(const QByteArray& dta) {
}
if (saved_sort_column < header()->count()) {
- header()->setSortIndicator(saved_sort_column, saved_sort_order);
+ header()->setSortIndicator(saved_sort_column, Qt::SortOrder(saved_sort_order));
}
}