mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-11 02:49:58 +01:00
Merge pull request #415 from plc-user/master
no random hashes to have more constant order of XML-tags
This commit is contained in:
@@ -164,6 +164,10 @@ void delete_old_log_files(int days)
|
|||||||
*/
|
*/
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
|
// before creating Application:
|
||||||
|
// export environment-variable "QT_HASH_SEED" with value "0" to
|
||||||
|
// disable radomisation for hashes in order to obtain "clean" XML-diffs:
|
||||||
|
qputenv("QT_HASH_SEED", "0");
|
||||||
//Some setup, notably to use with QSetting.
|
//Some setup, notably to use with QSetting.
|
||||||
QCoreApplication::setOrganizationName("QElectroTech");
|
QCoreApplication::setOrganizationName("QElectroTech");
|
||||||
QCoreApplication::setOrganizationDomain("qelectrotech.org");
|
QCoreApplication::setOrganizationDomain("qelectrotech.org");
|
||||||
|
|||||||
Reference in New Issue
Block a user