GH-352 Make OneSix instance update downloads cancellable
This commit is contained in:
parent
2f0441b3c1
commit
042f3ef55c
32 changed files with 796 additions and 360 deletions
|
@ -48,6 +48,10 @@ public:
|
|||
using namespace std::placeholders;
|
||||
m_ptr.reset(wrap, std::bind(&QObject::deleteLater, _1));
|
||||
}
|
||||
void reset(const shared_qobject_ptr<T> &other)
|
||||
{
|
||||
m_ptr = other.m_ptr;
|
||||
}
|
||||
void reset()
|
||||
{
|
||||
m_ptr.reset();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue