Commit 00cb9ee9 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Kit: Use member initialization



All users did initialize m_priority with a call to setPriority in
their constructors, but we should not rely on that.

Change-Id: I707aaaf117e2680ba0bb1f2849e66c426b4fb8b4
Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
parent 5058f269
......@@ -104,7 +104,7 @@ protected:
private:
Core::Id m_id;
int m_priority; // The higher the closer to the top.
int m_priority = 0; // The higher the closer to the top.
};
class PROJECTEXPLORER_EXPORT KitManager : public QObject
......
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