mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: port filterpreset.cpp to std::string
Less memory management hassle. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
2e1d852e36
commit
119fe908c7
11 changed files with 44 additions and 57 deletions
|
@ -17,7 +17,7 @@ public:
|
|||
CreateFilterPreset(const QString &name, const FilterData &data);
|
||||
private:
|
||||
// for redo
|
||||
QString name;
|
||||
std::string name;
|
||||
FilterData data;
|
||||
|
||||
// for undo
|
||||
|
@ -33,7 +33,7 @@ public:
|
|||
RemoveFilterPreset(int index);
|
||||
private:
|
||||
// for undo
|
||||
QString name;
|
||||
std::string name;
|
||||
FilterData data;
|
||||
|
||||
// for redo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue