* @brief InvestigateProcessWindow::UpdateWidget - Refresh stylesheet (Qt bug). * @param widget - Widget to update. */
| 92 | * @param widget - Widget to update. |
| 93 | */ |
| 94 | void InvestigateProcessWindow::UpdateWidget(QWidget *widget) |
| 95 | { |
| 96 | widget->style()->unpolish(widget); |
| 97 | widget->style()->polish(widget); |
| 98 | QEvent event(QEvent::StyleChange); |
| 99 | QApplication::sendEvent(widget, &event); |
| 100 | widget->update(); |
| 101 | widget->updateGeometry(); |
| 102 | } |
| 103 | |
| 104 | InvestigateProcessWindow::InvestigateProcessWindow(QWidget *parent) : |
| 105 | QWidget(parent), |
nothing calls this directly
no outgoing calls
no test coverage detected