[TD]code clean ups

- QtConcurrent include and CMake for Win

- include clean up dvp, dvs, dvd

- variable names and nested if clean up

- remove debug code
This commit is contained in:
Wanderer Fan
2022-07-29 14:17:24 -04:00
committed by WandererFan
parent b1dd0bd2d0
commit 74cdc6db61
36 changed files with 772 additions and 840 deletions

View File

@@ -111,7 +111,7 @@ QRectF DrawViewImage::getRect() const
void DrawViewImage::replaceImageIncluded(std::string newFileName)
{
Base::Console().Message("DVI::replaceImageIncluded(%s)\n", newFileName.c_str());
// Base::Console().Message("DVI::replaceImageIncluded(%s)\n", newFileName.c_str());
if (ImageIncluded.isEmpty()) {
setupImageIncluded();
} else {
@@ -123,7 +123,7 @@ void DrawViewImage::replaceImageIncluded(std::string newFileName)
void DrawViewImage::setupImageIncluded()
{
Base::Console().Message("DVI::setupImageIncluded()\n");
// Base::Console().Message("DVI::setupImageIncluded()\n");
App::Document* doc = getDocument();
std::string dir = doc->TransientDir.getValue();
std::string special = getNameInDocument();