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

Use nullptr

parent 91ceaabb
......@@ -91,7 +91,7 @@ public:
private:
quintptr m_tag;
QAction *m_action;
QAction *m_action = nullptr;
};
class KDEPlatformSystemTrayIcon : public QPlatformSystemTrayIcon
......
......@@ -66,8 +66,8 @@ private:
static bool useXdgDesktopPortal();
KHintsSettings *m_hints;
KFontSettingsData *m_fontsData;
KHintsSettings *m_hints = nullptr;
KFontSettingsData *m_fontsData = nullptr;
QScopedPointer<KWaylandIntegration> m_kwaylandIntegration;
QScopedPointer<X11Integration> m_x11Integration;
......
......@@ -84,8 +84,8 @@ Q_SIGNALS:
void windowChanged(QWindow *newWindow, QWindow *oldWindow);
private:
QDBusPlatformMenu *m_menu;
QDBusMenuAdaptor *m_menuAdaptor;
QDBusPlatformMenu *m_menu = nullptr;
QDBusMenuAdaptor *m_menuAdaptor = nullptr;
QHash<quintptr, QDBusPlatformMenuItem *> m_menuItems;
QPointer<QWindow> m_window;
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