24 Commits (03badf5bd96f304f9fa2824019a8545d8f3bb29a)

Author SHA1 Message Date
Ahmad Samir 03badf5bd9 Only call loadAllProfiles() in the constructor 4 years ago
Ahmad Samir 50041fd02e Simplify ProfileManager code 4 years ago
Ahmad Samir 0e3c3aafe7 Initialize variables in-class where appropriate 4 years ago
Ahmad Samir a594a209cf Fix issues with the container used to hold the Profiles in the ProfileManager 5 years ago
Ahmad Samir 97569b764c Run clang-format on the whole repo 5 years ago
Ahmad Samir 16928469e0 Use a std::set with custom Compare to always have a sorted profiles list 5 years ago
Ahmad Samir 238a8b45ed ProfileManager: remove some fallback-profile-related code 5 years ago
Ahmad Samir 5ab8423139 Don't edit the Fallback profile, instead create a new one 5 years ago
Ahmad Samir 646408dd97 Clean up some more "favourite profile"-related code 5 years ago
Ahmad Samir ce31d0e235 Always sort the Default/fallback profile first 5 years ago
Ahmad Samir 88c58a853d Show the Default/fallback profile in the profile manager dialog 5 years ago
Ahmad Samir a59d9b8d7b Update the profiles list menu when the default profile is changed 5 years ago
Ahmad Samir bfda9104d3 Profile: add convenience function isFallback() 5 years ago
Ahmad Samir d06ea23903 Use Q_EMIT instead of emit 5 years ago
Kurt Hindenburg 95795cdfbc Convert profile to use SPDX license/copyright 5 years ago
Carlos Alves b513c5ca9d Sort profiles by name to show in menu 5 years ago
Laurent Montel b626359501 If include is define in .h remove it if it's defined in .cpp too (scripted) 5 years ago
Ahmad Samir c2451f625c Call addProfile after a path has been set for a new profile 5 years ago
Ahmad Samir feb2180878 Improve handling of the fallback profile 5 years ago
Tomaz Canabrava 9d8e47298c Fix Profile "Set default" not working 6 years ago
Tomaz Canabrava 28ba920c82 Remove 'Favorite Profile' 6 years ago
Gustavo Carneiro d473572535 Move ProfileGroup and ProfileCommandParser Classes to a new files. 6 years ago
Gustavo Carneiro 0beeff76ea Move PopStackOnExit class to a new file. 6 years ago
Tomaz Canabrava 0478529c6f Move Profile related classes to it's own folder 6 years ago
Kurt Hindenburg 90c81d0ecf Simpify return after else statements 6 years ago
Martin T. H. Sandsmark 785fedbe53 fix deprecated qset warnings 6 years ago
Kurt Hindenburg 3e8401391a Add comments about QSet deprecated methods 6 years ago
Kurt Hindenburg 09df31fe6a Remove un-needed semi-colons 6 years ago
Kurt Hindenburg 449fdd90c9 Revert "Replace deprecated QSet::toList and QSet::fromList()" 6 years ago
João Eudes Lima c07210056c Replace deprecated QSet::toList and QSet::fromList() 6 years ago
Kurt Hindenburg 55f14ca3db Remove unused methods shortcuts and findByShortcut 6 years ago
Mariusz Glebocki 52d2720007 Revert "GIT_SILENT: minor qstring optimization" 6 years ago
Ahmad Samir 5f60bc5a6f Replace foreach (deprecated) with range-for 6 years ago
Laurent Montel f96deb39aa GIT_SILENT: minor qstring optimization 7 years ago
Kurt Hindenburg a1b64d7956 Revert "Profile shortcuts switch profile instead of opening new tab" 7 years ago
Kurt Hindenburg 5d591a6a7d std::stable_sort requires !(a < a) 7 years ago
Kurt Hindenburg b3ceeb044d std::stable_sort requires !(a < a) 7 years ago
Laurent Montel 4a7a31b3fb port to std::stable_sort 7 years ago
Laurent Montel f46c36bbb5 Const'ify where it's possible found by clazy 7 years ago
Thomas Surrel d689ba5403 Profile shortcuts switch profile instead of opening new tab 7 years ago
Tomaz Canabrava 5c0a5fd496 Simplify saveShortcuts and saveFavorites 8 years ago
Tomaz Canabrava 7c1fd8d71f Simplify: Use locals instead of pointers 8 years ago
Kurt Hindenburg 5a31b4af6d change to use auto 8 years ago
Kurt Hindenburg eb90e6fb48 simplify ProfileReader class as there is no longer multiple versions 8 years ago
Kurt Hindenburg 0feaa76963 simplify ProfileWriter class as there is no longer multiple versions 8 years ago
Kurt Hindenburg be60d9151d fix spelling error 8 years ago
Kurt Hindenburg 7f35a5af09 initialize members in the initialization list 8 years ago
Kurt Hindenburg 9054f81890 readability fixes - if braces 8 years ago
Kurt Hindenburg 41200618e7 Only reassign renamed profile's shortcut if old profile is deleted. 8 years ago
Kurt Hindenburg 87642c9349 Do not load a profile if it does not have a Name= 8 years ago