]> Shamusworld >> Repos - architektonas/blobdiff - src/forms/roundoptions.cpp
Bugfixes related to removing Snapper class.
[architektonas] / src / forms / roundoptions.cpp
index 7f439b40a49baec874b29ac2d468e088b5a1888c..1084835ba7961d3e0f4eec16158d6a5ef5a75542 100644 (file)
@@ -3,7 +3,9 @@
 // Part of the Architektonas Project
 // Originally part of QCad Community Edition by Andrew Mustun
 // Extensively rewritten and refactored by James L. Hammons
-// (C) 2010 Underground Software
+// Portions copyright (C) 2001-2003 RibbonSoft
+// Copyright (C) 2010 Underground Software
+// See the README and GPLv2 files for licensing and warranty information
 //
 // JLH = James L. Hammons <jlhamm@acm.org>
 //
@@ -15,6 +17,7 @@
 #include "roundoptions.h"
 
 #include "actionmodifyround.h"
+#include "debug.h"
 #include "settings.h"
 
 RoundOptions::RoundOptions(QToolBar * parent/*= 0*/, Qt::WindowFlags flags/*= 0*/):
@@ -80,7 +83,7 @@ void RoundOptions::setAction(ActionInterface * a, bool update)
        }
        else
        {
-               RS_DEBUG->print(RS_Debug::D_ERROR, "LineParallelOptions::setAction: wrong action type");
+               DEBUG->print(Debug::D_ERROR, "LineParallelOptions::setAction: wrong action type");
                action = NULL;
        }
 }
@@ -90,7 +93,7 @@ void RoundOptions::updateData()
        if (action != NULL)
        {
                action->setTrim(cbTrim->isChecked());
-               action->setRadius(RS_Math::eval(leRadius->text()));
+               action->setRadius(Math::eval(leRadius->text()));
        }
 }