forked from qt-creator/qt-creator
Fixes compilation
This commit is contained in:
@@ -433,6 +433,7 @@ EnvironmentWidget::EnvironmentWidget(QWidget *parent, QWidget *additionalDetails
|
|||||||
this, SIGNAL(userChangesUpdated()));
|
this, SIGNAL(userChangesUpdated()));
|
||||||
|
|
||||||
QVBoxLayout *vbox = new QVBoxLayout(this);
|
QVBoxLayout *vbox = new QVBoxLayout(this);
|
||||||
|
vbox->setContentsMargins(20, 0, 0, 0);
|
||||||
|
|
||||||
m_summaryText = new QLabel(this);
|
m_summaryText = new QLabel(this);
|
||||||
m_summaryText->setText("");
|
m_summaryText->setText("");
|
||||||
@@ -441,7 +442,7 @@ EnvironmentWidget::EnvironmentWidget(QWidget *parent, QWidget *additionalDetails
|
|||||||
detailsButton->setText(tr("Details"));
|
detailsButton->setText(tr("Details"));
|
||||||
|
|
||||||
connect(detailsButton, SIGNAL(clicked()),
|
connect(detailsButton, SIGNAL(clicked()),
|
||||||
this, SLOT(switchToDetails()));
|
this, SLOT(toggleDetails()));
|
||||||
|
|
||||||
QHBoxLayout *hbox = new QHBoxLayout();
|
QHBoxLayout *hbox = new QHBoxLayout();
|
||||||
hbox->addWidget(m_summaryText);
|
hbox->addWidget(m_summaryText);
|
||||||
@@ -517,7 +518,7 @@ EnvironmentWidget::~EnvironmentWidget()
|
|||||||
m_model = 0;
|
m_model = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void EnvironmentWidget::switchToDetails()
|
void EnvironmentWidget::toggleDetails()
|
||||||
{
|
{
|
||||||
m_details->setVisible(!m_details->isVisible());
|
m_details->setVisible(!m_details->isVisible());
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -106,8 +106,7 @@ public:
|
|||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
void updateButtons();
|
void updateButtons();
|
||||||
void switchToSummary();
|
void toggleDetails();
|
||||||
void switchToDetails();
|
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void userChangesUpdated();
|
void userChangesUpdated();
|
||||||
|
|||||||
Reference in New Issue
Block a user