mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-30 05:51:23 +08:00
fixes #284, credit goes to Roland
This commit is contained in:
@@ -78,7 +78,7 @@ class QSharedApplication : public QApplication
|
|||||||
|
|
||||||
QWeakPointer<QApplication> m_weakptr;
|
QWeakPointer<QApplication> m_weakptr;
|
||||||
|
|
||||||
QSharedApplication(QSharedPointer<QApplication> &ptr, int argc, char **argv) : QApplication(argc, argv)
|
QSharedApplication(QSharedPointer<QApplication> &ptr, int &argc, char **argv) : QApplication(argc, argv)
|
||||||
{
|
{
|
||||||
ptr.reset(this);
|
ptr.reset(this);
|
||||||
m_weakptr = ptr;
|
m_weakptr = ptr;
|
||||||
|
|||||||
Reference in New Issue
Block a user