mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-24 05:55:59 +03:00
Move setPlaceholderText to correct class.
This commit is contained in:
parent
5dd53b48ef
commit
3f3f6c0f39
1 changed files with 3 additions and 3 deletions
6
src/3rdparty/fancylineedit/fancylineedit.h
vendored
6
src/3rdparty/fancylineedit/fancylineedit.h
vendored
|
@ -55,9 +55,6 @@ public:
|
|||
void setAutoHide(bool hide) { m_autoHide = hide; }
|
||||
bool hasAutoHide() const { return m_autoHide; }
|
||||
|
||||
#if QT_VERSION <= 0x040700
|
||||
void setPlaceholderText( const QString& ) { }
|
||||
#endif
|
||||
private:
|
||||
float m_iconOpacity;
|
||||
bool m_autoHide;
|
||||
|
@ -94,6 +91,9 @@ public:
|
|||
// Set if icon should be hidden when text is empty
|
||||
void setAutoHideButton(Side side, bool h);
|
||||
bool hasAutoHideButton(Side side) const;
|
||||
#if QT_VERSION <= 0x040700
|
||||
void setPlaceholderText( const QString& ) { }
|
||||
#endif
|
||||
|
||||
signals:
|
||||
void buttonClicked(Utils::FancyLineEdit::Side side);
|
||||
|
|
Loading…
Reference in a new issue