fix macosx build

This commit is contained in:
Martin Rotter 2020-07-13 10:20:49 +02:00
parent 02142c4f6c
commit 8e28924e7c
3 changed files with 4 additions and 3 deletions

View File

@ -150,7 +150,6 @@ class RSSGUARD_DLLSPEC FeedsModel : public QAbstractItemModel {
void reloadMessageListRequested(bool mark_selected_messages_read);
// There was some drag/drop operation, notify view about this.
// NOTE: View will probably expand dropped index.
void requireItemValidationAfterDragDrop(const QModelIndex& source_index);
private:

View File

@ -77,7 +77,11 @@ bool IOFactory::startProcessDetached(const QString& program, const QStringList&
process.setProgram(program);
process.setArguments(arguments);
#if !defined(Q_OS_MAC)
process.setNativeArguments(native_arguments);
#endif
process.setWorkingDirectory(working_directory);
return process.startDetached(nullptr);

View File

@ -293,8 +293,6 @@ void Feed::setMessageFilters(const QList<QPointer<MessageFilter>>& filters) {
}
void Feed::removeMessageFilter(MessageFilter* filter) {
// TODO: check this.
int idx = m_messageFilters.indexOf(filter);
if (idx >= 0) {