57 + // use galare as default QtContacts Manager 58 + if (qEnvironmentVariableIsSet("QTCONTACTS_MANAGER_OVERRIDE")) { 59 + defaultManager = qgetenv("QTCONTACTS_MANAGER_OVERRIDE"); 60 + }
Wouldn't it be a good idea to check if the value set from command line actually exists in the list of available managers?
« Back to merge proposal
57 + // use galare as default QtContacts Manager riableIsSet( "QTCONTACTS_ MANAGER_ OVERRIDE" )) { "QTCONTACTS_ MANAGER_ OVERRIDE" );
58 + if (qEnvironmentVa
59 + defaultManager = qgetenv(
60 + }
Wouldn't it be a good idea to check if the value set from command line actually exists in the list of available managers?