Refactoring for MainWindow::filterChanged
Refactoring: Rename variables