forked from qt-creator/qt-creator
ProjectExplorer: Add a setting for low build priority
Default is false. Task-number: QTCREATORBUG-23048 Change-Id: I0f0cc787229456aad2ddf47e4ef37bad58af2038 Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
2a8a39f12b
commit
92c067ba36
@@ -30,6 +30,8 @@
|
||||
#include "ioutputparser.h"
|
||||
#include "processparameters.h"
|
||||
#include "project.h"
|
||||
#include "projectexplorer.h"
|
||||
#include "projectexplorersettings.h"
|
||||
#include "target.h"
|
||||
#include "task.h"
|
||||
|
||||
@@ -249,9 +251,10 @@ void AbstractProcessStep::doRun()
|
||||
processStarted();
|
||||
}
|
||||
|
||||
void AbstractProcessStep::setLowPriority()
|
||||
void AbstractProcessStep::setLowPriorityIfConfigured()
|
||||
{
|
||||
d->m_lowPriority = true;
|
||||
if (ProjectExplorerPlugin::projectExplorerSettings().lowBuildPriority)
|
||||
d->m_lowPriority = true;
|
||||
}
|
||||
|
||||
void AbstractProcessStep::doCancel()
|
||||
|
||||
Reference in New Issue
Block a user