diff options
author | Slávek Banko <[email protected]> | 2021-01-08 03:19:52 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2021-01-08 03:21:39 +0100 |
commit | a0b020e7d2ca937033e1b4cea69fbc6a5a73fbf3 (patch) | |
tree | f6b7e57d98085d406e21eb5308b10486fc159dbc | |
parent | af4bcf6b8ff32dcb64e6fc4a87db3680189ac93b (diff) | |
download | pytqt-a0b020e7d2ca937033e1b4cea69fbc6a5a73fbf3.tar.gz pytqt-a0b020e7d2ca937033e1b4cea69fbc6a5a73fbf3.zip |
pyuic: Delete the current date from the generated files
so that their generation can be reproducible.
Signed-off-by: Slávek Banko <[email protected]>
-rw-r--r-- | pyuic2/uic.cpp | 3 | ||||
-rw-r--r-- | pyuic3/embed.cpp | 3 | ||||
-rw-r--r-- | pyuic3/main.cpp | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/pyuic2/uic.cpp b/pyuic2/uic.cpp index a140ae3..045609d 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 00e59d0..c3cbc43 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; |