Commit 0e3c3aaf authored by Ahmad Samir's avatar Ahmad Samir
Browse files

Initialize variables in-class where appropriate

parent c61e282b
......@@ -50,10 +50,6 @@ static bool profileNameLessThan(const Profile::Ptr &p1, const Profile::Ptr &p2)
}
ProfileManager::ProfileManager()
: _defaultProfile(nullptr)
, _fallbackProfile(nullptr)
, _loadedAllProfiles(false)
, _shortcuts(QMap<QKeySequence, ShortcutData>())
{
// load fallback profile
initFallbackProfile();
......
......@@ -227,7 +227,7 @@ private:
Profile::Ptr _defaultProfile;
Profile::Ptr _fallbackProfile;
bool _loadedAllProfiles; // set to true after loadAllProfiles has been called
bool _loadedAllProfiles = false; // set to true after loadAllProfiles has been called
struct ShortcutData {
Profile::Ptr profileKey;
......
Supports Markdown
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