mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Remove unused code.
This commit is contained in:
parent
c0be631767
commit
4216717d07
@ -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);
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user