NOISSUE use QObjectPtr for translations and screenshots

This commit is contained in:
Petr Mrázek
2015-04-05 14:50:58 +02:00
parent d8ea3501eb
commit f061bf7a27
3 changed files with 12 additions and 7 deletions

View File

@ -46,6 +46,10 @@ public:
{
return m_ptr.get() != nullptr;
}
const std::shared_ptr <T> unwrap() const
{
return m_ptr;
}
private:
std::shared_ptr <T> m_ptr;