Removed unecesarry msleeps; Updated pipeline

master
addi 2016-11-02 11:25:26 +01:00
parent 1bccc3488f
commit 2daea70c43
3 changed files with 1 additions and 6 deletions

View File

@ -3,7 +3,7 @@
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: rabits/qt:5.4-desktop
image: lamtev/qt:latest
pipelines:
default:

View File

@ -9,7 +9,6 @@ ColorsTxtAssistant::ColorsTxtAssistant(QWidget *parent) :
ui->stackedWidget->setCurrentIndex(0);
ui->buttonPrevious->setVisible(false);
ui->buttonFinished->setVisible(false);
parent->
}
ColorsTxtAssistant::~ColorsTxtAssistant()

View File

@ -205,17 +205,14 @@ void MakeColors::run(void)
emit progressChanged(0);
output(QString("Found %1 nodes").arg(nodeList.size()), INFO);
output(QString("Searching and parsing %1 texture files").arg(requiredColors.size()), INFO);
msleep(1000);
for(int i = 0; i < textureSearchDirectorys.size(); i++)
{
//emit stateChanged("search and process textures "+ i +" of "+textureSearchDirectorys.size());
searchAndProgressTextures(textureSearchDirectorys.at(i));
}
msleep(500);
writeColorsTxt(fileColorsTxt);
output("Done! :)",INFO);
//msleep(10);
}
void MakeColors::startProcess(void)
@ -225,7 +222,6 @@ void MakeColors::startProcess(void)
// Set this to 0 and -1 makes the progressbar shows busy
emit maxProgressChanged(0);
emit progressChanged(-1);
msleep(500);
start();
}