* @brief MainWindow::focusInput selects any text (if applicable) in the search * box and sets focus to it. Allows for easy searching, called at application * start and when receiving empty message in MainWindow::messageAvailable when * compiled with SINGLE_APP=1 (default). */
| 144 | * compiled with SINGLE_APP=1 (default). |
| 145 | */ |
| 146 | void MainWindow::focusInput() { |
| 147 | ui->lineEdit->selectAll(); |
| 148 | ui->lineEdit->setFocus(); |
| 149 | } |
| 150 | |
| 151 | /** |
| 152 | * @brief MainWindow::changeEvent sets focus to the search box |
nothing calls this directly
no outgoing calls
no test coverage detected