mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-02-06 20:33:38 +01:00
Fix some waylang icons.
This commit is contained in:
parent
cb0f2324f0
commit
bdc324018a
1
src/librssguard/definitions/definitions.h
Normal file → Executable file
1
src/librssguard/definitions/definitions.h
Normal file → Executable 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
4
src/librssguard/miscellaneous/databasequeries.cpp
Normal file → Executable 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;");
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user