Minor changes in Search UI

This commit is contained in:
ngosang 2016-05-30 22:51:09 +02:00
parent fee8aba610
commit 204f3d8542
2 changed files with 2 additions and 2 deletions

View File

@ -245,7 +245,7 @@ void SearchTab::fillFilterComboBoxes()
m_ui->minSizeUnit->setCurrentIndex(static_cast<int>(SizeUnit::MebiByte)); m_ui->minSizeUnit->setCurrentIndex(static_cast<int>(SizeUnit::MebiByte));
m_ui->maxSize->setValue(-1); 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(); m_ui->filterMode->clear();

View File

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