Refactor tool name code

This commit is contained in:
Lawrence Lee
2021-12-11 21:21:54 -08:00
parent 546c99d276
commit 40678f67b0
114 changed files with 290 additions and 113 deletions

View File

@@ -29,6 +29,8 @@
using namespace rtengine;
using namespace rtengine::procparams;
const Glib::ustring Crop::TOOL_NAME = "crop";
namespace
{
@@ -124,7 +126,7 @@ private:
};
Crop::Crop():
FoldableToolPanel(this, "crop", M("TP_CROP_LABEL"), false, true),
FoldableToolPanel(this, TOOL_NAME, M("TP_CROP_LABEL"), false, true),
crop_ratios(new CropRatios),
opt(0),
wDirty(true),