mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
Allow to set placeholder for FileSystemPathEdit
This commit is contained in:
parent
5347897b7d
commit
b0e41abf5a
4 changed files with 41 additions and 0 deletions
|
@ -247,6 +247,18 @@ void FileSystemPathEdit::setFileNameFilter(const QString &val)
|
|||
#endif
|
||||
}
|
||||
|
||||
QString FileSystemPathEdit::placeholder() const
|
||||
{
|
||||
Q_D(const FileSystemPathEdit);
|
||||
return d->m_editor->placeholder();
|
||||
}
|
||||
|
||||
void FileSystemPathEdit::setPlaceholder(const QString &val)
|
||||
{
|
||||
Q_D(FileSystemPathEdit);
|
||||
d->m_editor->setPlaceholder(val);
|
||||
}
|
||||
|
||||
bool FileSystemPathEdit::briefBrowseButtonCaption() const
|
||||
{
|
||||
Q_D(const FileSystemPathEdit);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue