mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-02-06 04:14:22 +01:00
os2 compatibility
This commit is contained in:
parent
7ad65b0044
commit
5f49c2b015
@ -511,8 +511,8 @@ QMAKE_EXTRA_TARGETS += lupdate
|
||||
|
||||
# Make sure QM translations are nerated.
|
||||
qtPrepareTool(LRELEASE, lrelease) {
|
||||
message($$MSG_PREFIX: Running: \"$$LRELEASE\" -compress librssguard.pro)
|
||||
system($$LRELEASE -compress librssguard.pro)
|
||||
message($$MSG_PREFIX: Running: \"$$LRELEASE\" -compress $$shell_quote($$shell_path($$PWD/librssguard.pro)))
|
||||
system($$LRELEASE -compress $$shell_quote($$shell_path($$PWD/librssguard.pro)))
|
||||
}
|
||||
|
||||
mac {
|
||||
|
@ -659,7 +659,12 @@ QList<Message> StandardFeed::obtainNewMessages(bool* error_during_obtaining) {
|
||||
}
|
||||
|
||||
QStringList StandardFeed::prepareExecutionLine(const QString& execution_line) {
|
||||
auto split_exec = execution_line.split('#', Qt::SplitBehaviorFlags::SkipEmptyParts);
|
||||
auto split_exec = execution_line.split('#',
|
||||
#if QT_VERSION >= 0x050F00 // Qt >= 5.15.0
|
||||
Qt::SplitBehaviorFlags::SkipEmptyParts);
|
||||
#else
|
||||
QString::SplitBehavior::SkipEmptyParts);
|
||||
#endif
|
||||
auto user_data_folder = qApp->userDataFolder();
|
||||
|
||||
return split_exec.replaceInStrings(EXECUTION_LINE_USER_DATA_PLACEHOLDER, user_data_folder);
|
||||
|
Loading…
x
Reference in New Issue
Block a user