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

@@ -27,6 +27,8 @@
using namespace rtengine;
using namespace rtengine::procparams;
const Glib::ustring PerspCorrection::TOOL_NAME = "perspective";
namespace
{
@@ -84,7 +86,7 @@ std::vector<rtengine::ControlLine> valuesToControlLines(
}
PerspCorrection::PerspCorrection () : FoldableToolPanel(this, "perspective", M("TP_PERSPECTIVE_LABEL"))
PerspCorrection::PerspCorrection () : FoldableToolPanel(this, TOOL_NAME, M("TP_PERSPECTIVE_LABEL"))
{
auto mapper = ProcEventMapper::getInstance();