Commit 97df3b6c authored by con's avatar con
Browse files

Build fix for Mac OS X.

parent b7bfe7a7
......@@ -12,8 +12,6 @@ DetailsButton::DetailsButton(QWidget *parent)
#ifdef Q_OS_MAC
setAttribute(Qt::WA_MacSmallSize);
setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
s.upButton->setIconSize(QSize(10, 10));
s.downButton->setIconSize(QSize(10, 10));
#else
setCheckable(true);
#endif
......
......@@ -169,14 +169,14 @@ Qt4RunConfigurationWidget::Qt4RunConfigurationWidget(Qt4RunConfiguration *qt4Run
vboxTopLayout->setContentsMargins(0, -1, 0, -1);
m_summaryLabel = new QLabel(this);
m_summaryLabel->setText("This is a summary");
m_detailsButton = new Utils::DetailsButton(this);
QAbstractButton *detailsButton = new Utils::DetailsButton(this);
connect(m_detailsButton, SIGNAL(clicked()),
connect(detailsButton, SIGNAL(clicked()),
this, SLOT(toggleDetails()));
QHBoxLayout *detailsLayout = new QHBoxLayout();
detailsLayout->addWidget(m_summaryLabel);
detailsLayout->addWidget(m_detailsButton);
detailsLayout->addWidget(detailsButton);
vboxTopLayout->addLayout(detailsLayout);
......
......@@ -183,7 +183,6 @@ private:
QComboBox *m_baseEnvironmentComboBox;
QWidget *m_detailsWidget;
QToolButton *m_detailsButton;
QLabel *m_summaryLabel;
ProjectExplorer::EnvironmentWidget *m_environmentWidget;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment