fix macosx build
This commit is contained in:
parent
02142c4f6c
commit
8e28924e7c
|
@ -150,7 +150,6 @@ class RSSGUARD_DLLSPEC FeedsModel : public QAbstractItemModel {
|
||||||
void reloadMessageListRequested(bool mark_selected_messages_read);
|
void reloadMessageListRequested(bool mark_selected_messages_read);
|
||||||
|
|
||||||
// There was some drag/drop operation, notify view about this.
|
// There was some drag/drop operation, notify view about this.
|
||||||
// NOTE: View will probably expand dropped index.
|
|
||||||
void requireItemValidationAfterDragDrop(const QModelIndex& source_index);
|
void requireItemValidationAfterDragDrop(const QModelIndex& source_index);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
|
@ -77,7 +77,11 @@ bool IOFactory::startProcessDetached(const QString& program, const QStringList&
|
||||||
|
|
||||||
process.setProgram(program);
|
process.setProgram(program);
|
||||||
process.setArguments(arguments);
|
process.setArguments(arguments);
|
||||||
|
|
||||||
|
#if !defined(Q_OS_MAC)
|
||||||
process.setNativeArguments(native_arguments);
|
process.setNativeArguments(native_arguments);
|
||||||
|
#endif
|
||||||
|
|
||||||
process.setWorkingDirectory(working_directory);
|
process.setWorkingDirectory(working_directory);
|
||||||
|
|
||||||
return process.startDetached(nullptr);
|
return process.startDetached(nullptr);
|
||||||
|
|
|
@ -293,8 +293,6 @@ void Feed::setMessageFilters(const QList<QPointer<MessageFilter>>& filters) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Feed::removeMessageFilter(MessageFilter* filter) {
|
void Feed::removeMessageFilter(MessageFilter* filter) {
|
||||||
// TODO: check this.
|
|
||||||
|
|
||||||
int idx = m_messageFilters.indexOf(filter);
|
int idx = m_messageFilters.indexOf(filter);
|
||||||
|
|
||||||
if (idx >= 0) {
|
if (idx >= 0) {
|
||||||
|
|
Loading…
Reference in New Issue