pyuic: Delete the current date from the generated files

so that their generation can be reproducible.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit a0b020e7d2)
r14.0.x r14.0.10
Slávek Banko 3 years ago
parent a6011b52bf
commit a1b7a93354
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -1571,8 +1571,7 @@ int main( int argc, char * argv[] )
out << "# Form implementation generated from reading ui file '" << fileName << "'" << endl;
out << "#" << endl;
out << "# Created: " << TQDateTime::currentDateTime().toString() << endl;
out << "# by: The Python User Interface Compiler (pyuic) " << PYTQT_VERSION << endl;
out << "# Created by: The Python User Interface Compiler (pyuic) " << PYTQT_VERSION << endl;
out << "#" << endl;
out << "# WARNING! All changes made in this file will be lost!" << endl;
out << endl;

@ -128,8 +128,7 @@ void Uic::embed( TQTextStream& out, const char* project, const TQStringList& ima
for ( it = images.begin(); it != images.end(); ++it )
out << "# " << *it << "\n";
out << "#\n";
out << "# Created: " << TQDateTime::currentDateTime().toString() << "\n";
out << "# by: The PyTQt User Interface Compiler (pyuic) " << PYTQT_VERSION << "\n";
out << "# Created by: The PyTQt User Interface Compiler (pyuic) " << PYTQT_VERSION << "\n";
out << "#\n";
out << "# WARNING! All changes made in this file will be lost!\n";

@ -209,8 +209,7 @@ int main( int argc, char * argv[] )
if ( !subcl ) {
out << "# Form implementation generated from reading ui file '" << fileName << "'" << endl;
out << "#" << endl;
out << "# Created: " << TQDateTime::currentDateTime().toString() << endl;
out << "# by: The PyTQt User Interface Compiler (pyuic) " << PYTQT_VERSION << endl;
out << "# Created by: The PyTQt User Interface Compiler (pyuic) " << PYTQT_VERSION << endl;
out << "#" << endl;
out << "# WARNING! All changes made in this file will be lost!" << endl;
out << endl;

Loading…
Cancel
Save