Commit a215f90c authored by dt's avatar dt
Browse files

Fixes compilation

parent 9cfe7078
......@@ -433,6 +433,7 @@ EnvironmentWidget::EnvironmentWidget(QWidget *parent, QWidget *additionalDetails
this, SIGNAL(userChangesUpdated()));
QVBoxLayout *vbox = new QVBoxLayout(this);
vbox->setContentsMargins(20, 0, 0, 0);
m_summaryText = new QLabel(this);
m_summaryText->setText("");
......@@ -441,7 +442,7 @@ EnvironmentWidget::EnvironmentWidget(QWidget *parent, QWidget *additionalDetails
detailsButton->setText(tr("Details"));
connect(detailsButton, SIGNAL(clicked()),
this, SLOT(switchToDetails()));
this, SLOT(toggleDetails()));
QHBoxLayout *hbox = new QHBoxLayout();
hbox->addWidget(m_summaryText);
......@@ -517,7 +518,7 @@ EnvironmentWidget::~EnvironmentWidget()
m_model = 0;
}
void EnvironmentWidget::switchToDetails()
void EnvironmentWidget::toggleDetails()
{
m_details->setVisible(!m_details->isVisible());
}
......
......@@ -106,8 +106,7 @@ public:
public slots:
void updateButtons();
void switchToSummary();
void switchToDetails();
void toggleDetails();
signals:
void userChangesUpdated();
......
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