| 677 | } |
| 678 | |
| 679 | void GrepDialog::updateLimitToProjectEnabled() |
| 680 | { |
| 681 | Q_ASSERT_X(m_show, Q_FUNC_INFO, "The UI must be initialized."); |
| 682 | const bool enabled = directoriesInProject(searchPaths->currentText()); |
| 683 | limitToProjectLabel->setEnabled(enabled); |
| 684 | limitToProjectCheck->setEnabled(enabled); |
| 685 | } |
| 686 | |
| 687 | #include "moc_grepdialog.cpp" |
nothing calls this directly
no test coverage detected