Commit e5ecf2bc authored by Boudewijn Rempt's avatar Boudewijn Rempt

Remove some unused buttons

parent 454aa11b
......@@ -315,7 +315,6 @@ void ShapeCollectionDocker::activateShapeCollection(QListWidgetItem *item)
qCritical() << "Didn't find a model with id ==" << id;
}
m_closeCollectionButton->setEnabled(id != "default");
}
bool ShapeCollectionDocker::addCollection(const QString &id, const QString &title, CollectionItemModel *model)
......
......@@ -73,8 +73,8 @@ protected Q_SLOTS:
protected:
/**
* Load the default calligra shapes
*/
* Load the default calligra shapes
*/
void loadDefaultShapes();
......@@ -91,8 +91,6 @@ private:
QMenu *m_moreShapesContainer;
QListWidget *m_collectionChooser;
QListView *m_collectionView;
QToolButton *m_closeCollectionButton;
QToolButton *m_addCollectionButton;
QSpacerItem *m_spacer;
QGridLayout *m_layout;
......
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