| 959 | } |
| 960 | |
| 961 | int TextWidth(const QFontMetrics& fm, const QString& text) |
| 962 | { |
| 963 | #if (QT_VERSION >= QT_VERSION_CHECK(5, 11, 0)) |
| 964 | return fm.horizontalAdvance(text); |
| 965 | #else |
| 966 | return fm.width(text); |
| 967 | #endif |
| 968 | } |
| 969 | |
| 970 | void LogQtInfo() |
| 971 | { |
no outgoing calls
no test coverage detected