Fix build

Change-Id: Id4182c9cd96b74c0ffa2e1aefe9074f66e17fe92
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
Orgad Shaneh
2012-06-21 14:28:15 +03:00
committed by Tobias Hunger
parent 554ef76b2e
commit 6473d7b611
2 changed files with 2 additions and 2 deletions

View File

@@ -560,7 +560,7 @@ bool DebianManager::setPackageManagerIcon(const Utils::FileName &debianDir, Core
while (nextEolPos != -1 && nextEolPos != contents.length() - 1
&& contents.at(nextEolPos + 1) != '\n'
&& (contents.at(nextEolPos + 1) == '#'
|| std::isspace(contents.at(nextEolPos + 1))))
|| isspace(contents.at(nextEolPos + 1))))
nextEolPos = contents.indexOf('\n', nextEolPos + 1);
if (nextEolPos == -1)
nextEolPos = contents.length();

View File

@@ -53,7 +53,7 @@ ProfileManagerConfigWidget::ProfileManagerConfigWidget(Profile *p, QWidget *pare
m_layout->setSpacing(6);
m_iconButton->setMinimumSize(70, 70);
m_iconButton->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::QSizePolicy::Fixed);
m_iconButton->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
QVBoxLayout *iconLayout = new QVBoxLayout;
iconLayout->addWidget(m_iconButton);
iconLayout->addStretch();