forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.1'
Conflicts: src/tools/clangbackend/ipcsource/projectpart.cpp Change-Id: I2975328ae0398f70ef4403bd6cebdc80d24379c9
This commit is contained in:
@@ -144,8 +144,12 @@ float OpaqueColoredPoint2DWithSize::top() const
|
||||
|
||||
void OpaqueColoredPoint2DWithSize::update(float nr, float ny)
|
||||
{
|
||||
if (a <= MaximumDirection)
|
||||
if (a <= MaximumDirection) {
|
||||
a += MaximumDirection;
|
||||
id = -2;
|
||||
} else {
|
||||
--id;
|
||||
}
|
||||
|
||||
y += ny;
|
||||
w = nr - x;
|
||||
|
||||
@@ -302,7 +302,7 @@ QString CompletionChunksToTextConverter::inDesiredTextFormat(const Utf8String &t
|
||||
bool CompletionChunksToTextConverter::emphasizeCurrentPlaceHolder() const
|
||||
{
|
||||
if (m_addPlaceHolderPositions) {
|
||||
const uint currentPlaceHolderPosition = m_placeholderPositions.size() + 1;
|
||||
const uint currentPlaceHolderPosition = uint(m_placeholderPositions.size() + 1);
|
||||
return uint(m_placeHolderPositionToEmphasize) == currentPlaceHolderPosition;
|
||||
}
|
||||
|
||||
|
||||
@@ -546,8 +546,6 @@ void QbsProject::changeActiveTarget(Target *t)
|
||||
BuildConfiguration *bc = 0;
|
||||
if (t) {
|
||||
m_qbsProject = m_qbsProjects.value(t);
|
||||
if (m_qbsProject.isValid())
|
||||
m_projectData = m_qbsProject.projectData();
|
||||
if (t->kit())
|
||||
bc = t->activeBuildConfiguration();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user