diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-05-17 11:03:37 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2022-05-18 11:53:26 +0200 |
commit | 76e441c9ee0b8131edb503bfa8de9b26798fc95d (patch) | |
tree | c56fe0ee51f18da8fe394201a1efb89d80faff09 /src/tools/uic | |
parent | ae765813d082d403889d2f98a9c21bd9628cdd58 (diff) |
Make uic generate correct C++ comments
Revert the change to uic of 05fc3aef53348fb58be6308076e000825b704e58.
Task-number: QTBUG-67283
Change-Id: Icfd83bb6d80b91d4e58f1be460f6772ba49a6921
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/tools/uic')
-rw-r--r-- | src/tools/uic/uic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/uic/uic.cpp b/src/tools/uic/uic.cpp index bc01be7d44..9c61ae4778 100644 --- a/src/tools/uic/uic.cpp +++ b/src/tools/uic/uic.cpp @@ -88,7 +88,7 @@ void Uic::writeCopyrightHeaderCpp(const DomUI *ui) const { QString comment = ui->elementComment(); if (!comment.isEmpty()) - out << comment << "\n"; + out << "/*\n" << comment << "\n*/\n\n"; out << "/********************************************************************************\n"; out << "** Form generated from reading UI file '" << QFileInfo(opt.inputFile).fileName() << "'\n"; |