]> Shamusworld >> Repos - architektonas/blobdiff - src/forms/linebisectoroptions.cpp
Bugfixes related to removing Snapper class.
[architektonas] / src / forms / linebisectoroptions.cpp
index 520b5bb41ccd66f2eabf6d04d4a4fbb874512f94..6d09a7fe8af92fc2690fee9eee4cb57fcbbc9a8e 100644 (file)
@@ -17,6 +17,7 @@
 #include "linebisectoroptions.h"
 
 #include "actiondrawlinebisector.h"
+#include "debug.h"
 #include "settings.h"
 
 LineBisectorOptions::LineBisectorOptions(QToolBar * parent/*= 0*/, Qt::WindowFlags flags/*= 0*/):
@@ -80,7 +81,7 @@ void LineBisectorOptions::setAction(ActionInterface * a, bool update)
        }
        else
        {
-               RS_DEBUG->print(RS_Debug::D_ERROR, "LineBisectorOptions::setAction: wrong action type");
+               DEBUG->print(Debug::D_ERROR, "LineBisectorOptions::setAction: wrong action type");
                action = NULL;
        }
 }
@@ -88,7 +89,7 @@ void LineBisectorOptions::setAction(ActionInterface * a, bool update)
 void LineBisectorOptions::updateLength(const QString & l)
 {
        if (action != NULL)
-               action->setLength(RS_Math::eval(l));
+               action->setLength(Math::eval(l));
 }
 
 void LineBisectorOptions::updateNumber(int n)