summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-01-08 03:19:52 +0100
committerSlávek Banko <slavek.banko@axis.cz>2021-01-08 09:21:24 +0100
commita1b7a93354b1ccb8e982e887a306fe58d2c2d327 (patch)
treef26db868c26478d307eacac2f0e87e833d764b92
parenta6011b52bf1d65652d6d5781e86dd510faf2dd53 (diff)
downloadpytqt-a1b7a93354b1ccb8e982e887a306fe58d2c2d327.tar.gz
pytqt-a1b7a93354b1ccb8e982e887a306fe58d2c2d327.zip
pyuic: Delete the current date from the generated filesr14.0.10
so that their generation can be reproducible. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit a0b020e7d2ca937033e1b4cea69fbc6a5a73fbf3)
-rw-r--r--pyuic2/uic.cpp3
-rw-r--r--pyuic3/embed.cpp3
-rw-r--r--pyuic3/main.cpp3
3 files changed, 3 insertions, 6 deletions
diff --git a/pyuic2/uic.cpp b/pyuic2/uic.cpp
index 58db033..452d00c 100644
--- a/pyuic2/uic.cpp
+++ b/pyuic2/uic.cpp
@@ -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;
diff --git a/pyuic3/embed.cpp b/pyuic3/embed.cpp
index bba5f7f..240ee6f 100644
--- a/pyuic3/embed.cpp
+++ b/pyuic3/embed.cpp
@@ -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";
diff --git a/pyuic3/main.cpp b/pyuic3/main.cpp
index 42d1c63..a442654 100644
--- a/pyuic3/main.cpp
+++ b/pyuic3/main.cpp
@@ -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;