X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fwidgets%2Fwidthbox.cpp;h=e18461a2d27d895cef8a4e1c2956a862755db210;hb=5adb444f3e523d3fd028617ced72d1ea6661db21;hp=f175aabaa8c22278243d768fdd0003ca08e62381;hpb=3239ef39dcee08fa6e8cd68cdf2727fc68cc7a8c;p=architektonas diff --git a/src/widgets/widthbox.cpp b/src/widgets/widthbox.cpp index f175aab..e18461a 100644 --- a/src/widgets/widthbox.cpp +++ b/src/widgets/widthbox.cpp @@ -107,7 +107,7 @@ RS2::LineWidth WidthBox::getWidth() */ void WidthBox::setWidth(RS2::LineWidth w) { - RS_DEBUG->print("WidthBox::setWidth %d\n", (int)w); + DEBUG->print("WidthBox::setWidth %d\n", (int)w); int offset = (int)showByLayer * 2 + (int)showUnchanged; switch (w) @@ -116,13 +116,13 @@ void WidthBox::setWidth(RS2::LineWidth w) if (showByLayer) setCurrentIndex(0 + (int)showUnchanged); else - RS_DEBUG->print(RS_Debug::D_WARNING, "WidthBox::setWidth: Unsupported width."); + DEBUG->print(Debug::D_WARNING, "WidthBox::setWidth: Unsupported width."); break; case RS2::WidthByBlock: if (showByLayer) setCurrentIndex(1 + (int)showUnchanged); else - RS_DEBUG->print(RS_Debug::D_WARNING, "WidthBox::setWidth: Unsupported width."); + DEBUG->print(Debug::D_WARNING, "WidthBox::setWidth: Unsupported width."); break; case RS2::WidthDefault: setCurrentIndex(0 + offset); @@ -292,7 +292,7 @@ bool WidthBox::isUnchanged() */ void WidthBox::slotWidthChanged(int index) { - RS_DEBUG->print("WidthBox::slotWidthChanged %d\n", index); + DEBUG->print("WidthBox::slotWidthChanged %d\n", index); bool done = false; @@ -407,7 +407,7 @@ void WidthBox::slotWidthChanged(int index) //currentWidth = (RS2::LineWidth)(currentText().left(4).toDouble()*100); //} - RS_DEBUG->print("Current width is (%d): %d\n", index, ((int)currentWidth)); + DEBUG->print("Current width is (%d): %d\n", index, ((int)currentWidth)); emit widthChanged(currentWidth); }