Commit 6e81914a authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use nullptr

parent 91ceaabb
...@@ -91,7 +91,7 @@ public: ...@@ -91,7 +91,7 @@ public:
private: private:
quintptr m_tag; quintptr m_tag;
QAction *m_action; QAction *m_action = nullptr;
}; };
class KDEPlatformSystemTrayIcon : public QPlatformSystemTrayIcon class KDEPlatformSystemTrayIcon : public QPlatformSystemTrayIcon
......
...@@ -66,8 +66,8 @@ private: ...@@ -66,8 +66,8 @@ private:
static bool useXdgDesktopPortal(); static bool useXdgDesktopPortal();
KHintsSettings *m_hints; KHintsSettings *m_hints = nullptr;
KFontSettingsData *m_fontsData; KFontSettingsData *m_fontsData = nullptr;
QScopedPointer<KWaylandIntegration> m_kwaylandIntegration; QScopedPointer<KWaylandIntegration> m_kwaylandIntegration;
QScopedPointer<X11Integration> m_x11Integration; QScopedPointer<X11Integration> m_x11Integration;
......
...@@ -84,8 +84,8 @@ Q_SIGNALS: ...@@ -84,8 +84,8 @@ Q_SIGNALS:
void windowChanged(QWindow *newWindow, QWindow *oldWindow); void windowChanged(QWindow *newWindow, QWindow *oldWindow);
private: private:
QDBusPlatformMenu *m_menu; QDBusPlatformMenu *m_menu = nullptr;
QDBusMenuAdaptor *m_menuAdaptor; QDBusMenuAdaptor *m_menuAdaptor = nullptr;
QHash<quintptr, QDBusPlatformMenuItem *> m_menuItems; QHash<quintptr, QDBusPlatformMenuItem *> m_menuItems;
QPointer<QWindow> m_window; QPointer<QWindow> m_window;
QString m_objectPath; QString m_objectPath;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment