Fix some waylang icons.

This commit is contained in:
Martin Rotter 2020-04-20 07:02:20 +02:00
parent cb0f2324f0
commit bdc324018a
3 changed files with 7 additions and 2 deletions

1
src/librssguard/definitions/definitions.h Normal file → Executable file
View File

@ -13,6 +13,7 @@
#define ARGUMENTS_LIST_SEPARATOR "\n"
#define DESKTOP_FILE_NAME "com.github.rssguard.desktop"
#define LOCALHOST_ADDRESS "http://localhost"
#define ADBLOCK_ADBLOCKED_PAGE "adblockedpage"
#define ADBLOCK_HOWTO_FILTERS "http://adblockplus.org/en/filters"

4
src/librssguard/miscellaneous/databasequeries.cpp Normal file → Executable file
View File

@ -463,10 +463,10 @@ int DatabaseQueries::updateMessages(QSqlDatabase db,
// Here we have query which will check for existence of the "same" message in given feed.
// The two message are the "same" if:
// 1) they belong to the same feed AND,
// 1) they belong to the SAME FEED AND,
// 2) they have same URL AND,
// 3) they have same AUTHOR AND,
// 4) they have same title.
// 4) they have same TITLE.
query_select_with_url.setForwardOnly(true);
query_select_with_url.prepare("SELECT id, date_created, is_read, is_important, contents, feed FROM Messages "
"WHERE feed = :feed AND title = :title AND url = :url AND author = :author AND account_id = :account_id;");

View File

@ -29,6 +29,10 @@ int main(int argc, char* argv[]) {
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#if defined (Q_OS_LINUX)
QApplication::setDesktopFileName(DESKTOP_FILE_NAME);
#endif
// Ensure that ini format is used as application settings storage on Mac OS.
QSettings::setDefaultFormat(QSettings::IniFormat);