Skip to content

Commit ccec679

Browse files
committed
Fix OSX secure transport version string not complying with any known standard
1 parent ef64689 commit ccec679

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

UwxMainWindow.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,9 +335,13 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi
335335
.append("-SSL")
336336
#endif
337337
.append(" version ").append(UwVersion).append(" (").append(OS).append("), Built ").append(__DATE__).append(" Using QT ").append(QT_VERSION_STR)
338-
#ifdef UseSSL
338+
#ifdef UseSSL
339+
#if TARGET_OS_MAC
340+
.append(", ").append(QString(QSslSocket::sslLibraryBuildVersionString()).replace(",", ":"))
341+
#else
339342
.append(", ").append(QString(QSslSocket::sslLibraryBuildVersionString()).left(QSslSocket::sslLibraryBuildVersionString().indexOf(" ", 9)))
340343
#endif
344+
#endif
341345
#ifdef QT_DEBUG
342346
.append(" [DEBUG BUILD]")
343347
#endif

0 commit comments

Comments
 (0)