Remove unused code.

This commit is contained in:
Luis Ángel San Martín 2018-09-10 11:26:51 +02:00 committed by Luis Ángel San Martín
parent c0be631767
commit 4216717d07
2 changed files with 2 additions and 11 deletions

View File

@ -50,12 +50,6 @@ YACReaderLibraryItemWidget::YACReaderLibraryItemWidget(QString n /*ame*/, QStrin
setMinimumHeight(20);
}
void YACReaderLibraryItemWidget::showUpDownButtons(bool show)
{
up->setHidden(!show);
down->setHidden(!show);
}
void YACReaderLibraryItemWidget::deselect()
{
setStyleSheet(Theme::currentTheme().itemLibraryNoSelectedStyleSheet);

View File

@ -13,7 +13,7 @@ class YACReaderLibraryItemWidget : public QWidget
Q_OBJECT
public:
YACReaderLibraryItemWidget(QString name, QString path, QWidget *parent = 0);
YACReaderLibraryItemWidget(QString name, QString path, QWidget *parent = nullptr);
QString name;
QString path;
@ -22,12 +22,9 @@ signals:
void showOptions();
public slots:
void showUpDownButtons(bool show);
//bool eventFilter(QObject *object, QEvent *event);
void select();
void deselect();
void setName(const QString &name);
void setName(const QString & name);
private:
QLabel *icon;