summaryrefslogtreecommitdiffstats
path: root/src/platforms/mirserver/nativeinterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/platforms/mirserver/nativeinterface.h')
-rw-r--r--src/platforms/mirserver/nativeinterface.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/platforms/mirserver/nativeinterface.h b/src/platforms/mirserver/nativeinterface.h
index 5a5c377..da97663 100644
--- a/src/platforms/mirserver/nativeinterface.h
+++ b/src/platforms/mirserver/nativeinterface.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2013 Canonical, Ltd.
+ * Copyright (C) 2013-2015 Canonical, Ltd.
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License version 3, as published by
@@ -29,11 +29,11 @@
class NativeInterface : public QPlatformNativeInterface
{
public:
- NativeInterface(const QSharedPointer<MirServer> &);
+ NativeInterface(const QWeakPointer<MirServer> &);
virtual void *nativeResourceForIntegration(const QByteArray &resource);
- QSharedPointer<MirServer> m_mirServer;
+ QWeakPointer<MirServer> m_mirServer;
};
#endif // NATIVEINTEGRATION_H