fix(GODT-2467): elide long email adresses in 'bad event' QML notification dialog.

This commit is contained in:
Xavier Michelon
2023-03-09 12:16:17 +01:00
parent b57c7abe92
commit 7be46a4740
3 changed files with 19 additions and 1 deletions

View File

@ -49,6 +49,7 @@ OS os(); ///< Return the operating system.
bool onLinux(); ///< Check if the OS is Linux.
bool onMacOS(); ///< Check if the OS is macOS.
bool onWindows(); ///< Check if the OS in Windows.
QString elideLongString(QString const &str, qint32 maxLength); ///< Elide a string in the middle if its length exceed maxLength.
} // namespace