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);
|
setMinimumHeight(20);
|
||||||
}
|
}
|
||||||
|
|
||||||
void YACReaderLibraryItemWidget::showUpDownButtons(bool show)
|
|
||||||
{
|
|
||||||
up->setHidden(!show);
|
|
||||||
down->setHidden(!show);
|
|
||||||
}
|
|
||||||
|
|
||||||
void YACReaderLibraryItemWidget::deselect()
|
void YACReaderLibraryItemWidget::deselect()
|
||||||
{
|
{
|
||||||
setStyleSheet(Theme::currentTheme().itemLibraryNoSelectedStyleSheet);
|
setStyleSheet(Theme::currentTheme().itemLibraryNoSelectedStyleSheet);
|
||||||
|
@ -13,7 +13,7 @@ class YACReaderLibraryItemWidget : public QWidget
|
|||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
YACReaderLibraryItemWidget(QString name, QString path, QWidget *parent = 0);
|
YACReaderLibraryItemWidget(QString name, QString path, QWidget *parent = nullptr);
|
||||||
QString name;
|
QString name;
|
||||||
QString path;
|
QString path;
|
||||||
|
|
||||||
@ -22,12 +22,9 @@ signals:
|
|||||||
void showOptions();
|
void showOptions();
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
void showUpDownButtons(bool show);
|
|
||||||
|
|
||||||
//bool eventFilter(QObject *object, QEvent *event);
|
|
||||||
void select();
|
void select();
|
||||||
void deselect();
|
void deselect();
|
||||||
void setName(const QString &name);
|
void setName(const QString & name);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QLabel *icon;
|
QLabel *icon;
|
||||||
|
Loading…
Reference in New Issue
Block a user