mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
Add maxVisibleItems combo box property to FileSystemPathComboEdit.
This commit is contained in:
@@ -362,6 +362,16 @@ void FileSystemPathComboEdit::setCurrentIndex(int index)
|
||||
editWidget<WidgetType>()->setCurrentIndex(index);
|
||||
}
|
||||
|
||||
int FileSystemPathComboEdit::maxVisibleItems() const
|
||||
{
|
||||
return editWidget<WidgetType>()->maxVisibleItems();
|
||||
}
|
||||
|
||||
void FileSystemPathComboEdit::setMaxVisibleItems(int maxItems)
|
||||
{
|
||||
editWidget<WidgetType>()->setMaxVisibleItems(maxItems);
|
||||
}
|
||||
|
||||
QString FileSystemPathComboEdit::editWidgetText() const
|
||||
{
|
||||
return editWidget<WidgetType>()->currentText();
|
||||
|
||||
Reference in New Issue
Block a user