| 154 | } |
| 155 | |
| 156 | static void updateConnectionStatus(QTableWidget *table) |
| 157 | { |
| 158 | for (int row = 0; row < table->rowCount(); row++) { |
| 159 | auto item = table->item(row, 0); |
| 160 | if (!item) { |
| 161 | continue; |
| 162 | } |
| 163 | |
| 164 | auto weakToken = GetWeakTwitchTokenByQString(item->text()); |
| 165 | auto token = weakToken.lock(); |
| 166 | if (!token) { |
| 167 | continue; |
| 168 | } |
| 169 | |
| 170 | UpdateItemTableRow(table, row, |
| 171 | getCellLabels(token.get(), false)); |
| 172 | } |
| 173 | } |
| 174 | |
| 175 | static void openSettingsDialog() |
| 176 | { |
no test coverage detected