mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-23 17:56:50 +03:00
Remove unused LineEdit slot. Fix compiler warning.
This commit is contained in:
parent
9853187051
commit
6bf2c5a946
2 changed files with 4 additions and 2 deletions
|
@ -64,9 +64,9 @@ void LineEdit::resizeEvent(QResizeEvent *e)
|
|||
#endif
|
||||
}
|
||||
|
||||
#if (QT_VERSION < QT_VERSION_CHECK(5, 0, 0))
|
||||
void LineEdit::updateCloseButton(const QString &text)
|
||||
{
|
||||
#if (QT_VERSION < QT_VERSION_CHECK(5, 0, 0))
|
||||
clearButton->setVisible(!text.isEmpty());
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -24,8 +24,10 @@ public:
|
|||
protected:
|
||||
void resizeEvent(QResizeEvent *e);
|
||||
|
||||
#if (QT_VERSION < QT_VERSION_CHECK(5, 0, 0))
|
||||
private slots:
|
||||
void updateCloseButton(const QString &text);
|
||||
#endif
|
||||
|
||||
private:
|
||||
QToolButton *searchButton;
|
||||
|
|
Loading…
Reference in a new issue