forked from qt-creator/qt-creator
Fix build
Change-Id: Id4182c9cd96b74c0ffa2e1aefe9074f66e17fe92 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
committed by
Tobias Hunger
parent
554ef76b2e
commit
6473d7b611
@@ -560,7 +560,7 @@ bool DebianManager::setPackageManagerIcon(const Utils::FileName &debianDir, Core
|
|||||||
while (nextEolPos != -1 && nextEolPos != contents.length() - 1
|
while (nextEolPos != -1 && nextEolPos != contents.length() - 1
|
||||||
&& contents.at(nextEolPos + 1) != '\n'
|
&& contents.at(nextEolPos + 1) != '\n'
|
||||||
&& (contents.at(nextEolPos + 1) == '#'
|
&& (contents.at(nextEolPos + 1) == '#'
|
||||||
|| std::isspace(contents.at(nextEolPos + 1))))
|
|| isspace(contents.at(nextEolPos + 1))))
|
||||||
nextEolPos = contents.indexOf('\n', nextEolPos + 1);
|
nextEolPos = contents.indexOf('\n', nextEolPos + 1);
|
||||||
if (nextEolPos == -1)
|
if (nextEolPos == -1)
|
||||||
nextEolPos = contents.length();
|
nextEolPos = contents.length();
|
||||||
|
@@ -53,7 +53,7 @@ ProfileManagerConfigWidget::ProfileManagerConfigWidget(Profile *p, QWidget *pare
|
|||||||
m_layout->setSpacing(6);
|
m_layout->setSpacing(6);
|
||||||
|
|
||||||
m_iconButton->setMinimumSize(70, 70);
|
m_iconButton->setMinimumSize(70, 70);
|
||||||
m_iconButton->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::QSizePolicy::Fixed);
|
m_iconButton->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
|
||||||
QVBoxLayout *iconLayout = new QVBoxLayout;
|
QVBoxLayout *iconLayout = new QVBoxLayout;
|
||||||
iconLayout->addWidget(m_iconButton);
|
iconLayout->addWidget(m_iconButton);
|
||||||
iconLayout->addStretch();
|
iconLayout->addStretch();
|
||||||
|
Reference in New Issue
Block a user