Commit 1b812373 authored by Elvis Angelaccio's avatar Elvis Angelaccio

infopanel: drop unused actionsLabel

This label was introduced in commit bc7736d2 but it has never been used.
parent bd8dcf0f
......@@ -74,7 +74,6 @@ void InfoPanel::updateWithDefaults()
additionalInfo->setText(QString());
hideMetaData();
hideActions();
}
QString InfoPanel::prettyFileName() const
......@@ -156,28 +155,16 @@ void InfoPanel::setIndexes(const QModelIndexList &list)
void InfoPanel::showMetaData()
{
firstSeparator->show();
m_separator->show();
metadataLabel->show();
}
void InfoPanel::hideMetaData()
{
firstSeparator->hide();
m_separator->hide();
metadataLabel->hide();
}
void InfoPanel::showActions()
{
secondSeparator->show();
actionsLabel->show();
}
void InfoPanel::hideActions()
{
secondSeparator->hide();
actionsLabel->hide();
}
QString InfoPanel::metadataTextFor(const QModelIndex &index)
{
const ArchiveEntry& entry = m_model->entryForIndex(index);
......
......@@ -64,9 +64,6 @@ private:
void showMetaData();
void hideMetaData();
void showActions();
void hideActions();
QString metadataTextFor(const QModelIndex &);
ArchiveModel *m_model;
......
......@@ -72,7 +72,7 @@
</widget>
</item>
<item>
<widget class="Line" name="firstSeparator">
<widget class="Line" name="m_separator">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
......@@ -94,26 +94,6 @@
</property>
</widget>
</item>
<item>
<widget class="Line" name="secondSeparator">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="actionsLabel">
<property name="text">
<string>ActionsLabel</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="textInteractionFlags">
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation">
......
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