Browse Source

Merge pull request #5328 from ngosang/searchui

Minor changes in Search UI
adaptive-webui-19844
sledgehammer999 9 years ago
parent
commit
7600e273dc
  1. 2
      src/gui/search/searchtab.cpp
  2. 2
      src/gui/search/searchwidget.cpp

2
src/gui/search/searchtab.cpp

@ -245,7 +245,7 @@ void SearchTab::fillFilterComboBoxes() @@ -245,7 +245,7 @@ void SearchTab::fillFilterComboBoxes()
m_ui->minSizeUnit->setCurrentIndex(static_cast<int>(SizeUnit::MebiByte));
m_ui->maxSize->setValue(-1);
m_ui->maxSizeUnit->setCurrentIndex(static_cast<int>(SizeUnit::TebiByte));
m_ui->maxSizeUnit->setCurrentIndex(static_cast<int>(SizeUnit::GibiByte));
m_ui->filterMode->clear();

2
src/gui/search/searchwidget.cpp

@ -140,8 +140,8 @@ void SearchWidget::fillCatCombobox() @@ -140,8 +140,8 @@ void SearchWidget::fillCatCombobox()
void SearchWidget::fillPluginComboBox()
{
selectPlugin->clear();
selectPlugin->addItem(tr("All plugins"), QVariant("all"));
selectPlugin->addItem(tr("Only enabled"), QVariant("enabled"));
selectPlugin->addItem(tr("All plugins"), QVariant("all"));
selectPlugin->addItem(tr("Select..."), QVariant("multi"));
selectPlugin->insertSeparator(3);

Loading…
Cancel
Save