tetsurom/rxqt

from_event : missing static?

Closed this issue · 1 comments

I'm getting some linkage error because of duplicate from_event symbols. Here's a patch?

Index: rxqt_event.hpp
===================================================================
--- rxqt_event.hpp	(revision 39)
+++ rxqt_event.hpp	(working copy)
@@ -34,7 +34,7 @@
 
 } // event
 
-rxcpp::observable<QEvent*>
+static rxcpp::observable<QEvent*>
 from_event(QObject* qobject, QEvent::Type type)
 {
     if(!qobject) return rxcpp::sources::never<QEvent*>();

Thank you for the reporting!