Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Konsole
Commits
2bff3717
Commit
2bff3717
authored
Aug 06, 2022
by
Ahmad Samir
Browse files
Add a method to clear all Profile's set properties
parent
f37fbc1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/profile/Profile.h
View file @
2bff3717
...
...
@@ -445,6 +445,15 @@ public:
/** Returns true if no properties have been set in this Profile instance. */
bool
isEmpty
()
const
;
/**
* Clears all set properties in this profile. Afte calling this, isEmpty()
* will return true.
*/
void
clear
()
{
_propertyValues
.
clear
();
}
/**
* Returns true if this profile is the built-in profile.
*/
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment