diff --git a/src/libtomahawk/utils/Closure.h b/src/libtomahawk/utils/Closure.h index 1763d05f1..37aeb892f 100644 --- a/src/libtomahawk/utils/Closure.h +++ b/src/libtomahawk/utils/Closure.h @@ -38,7 +38,6 @@ using std::tr1::function; #include #include -#include namespace _detail { @@ -101,10 +100,10 @@ class DLLEXPORT Closure : public QObject, boost::noncopyable { bool autoDelete_; QPointer outOfThreadReceiver_; - boost::scoped_ptr val0_; - boost::scoped_ptr val1_; - boost::scoped_ptr val2_; - boost::scoped_ptr val3_; + QScopedPointer val0_; + QScopedPointer val1_; + QScopedPointer val2_; + QScopedPointer val3_; }; class DLLEXPORT SharedPointerWrapper { @@ -146,7 +145,7 @@ class SharedClosure : public Closure { } private: - boost::scoped_ptr shared_sender_; + QScopedPointer shared_sender_; }; } // namespace _detail