Skip to content

Commit

Permalink
Fixed build with Xcode.
Browse files Browse the repository at this point in the history
  • Loading branch information
23rd authored and john-preston committed Jun 21, 2024
1 parent d3b1687 commit a1344f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/rp_widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ rpl::producer<> RpWidgetWrap::macWindowDeactivateEvents() const {
#ifdef Q_OS_MAC
return windowActiveValue()
| rpl::skip(1)
| rpl::filter(!rpl::mappers::_1);
| rpl::filter(!rpl::mappers::_1)
| rpl::to_empty;
#else // Q_OS_MAC
return rpl::never<rpl::empty_value>();
#endif // Q_OS_MAC
Expand Down

0 comments on commit a1344f5

Please sign in to comment.