mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 08:10:52 +01:00
Fix warning about QSettings: now QSettings use native format for windows osx and other unix. See Qt documentation for more information.
http://doc.qt.io/qt-5/qsettings.html#details git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4206 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -16,12 +16,20 @@
|
||||
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "qetapp.h"
|
||||
|
||||
/**
|
||||
Fonction principale du programme QElectroTech
|
||||
@param argc nombre de parametres
|
||||
@param argv parametres
|
||||
*/
|
||||
int main(int argc, char **argv) {
|
||||
// Creation et execution de l'application
|
||||
* @brief main
|
||||
* Main function of QElectroTech
|
||||
* @param argc : number of paramètres
|
||||
* @param argv : paramètres
|
||||
* @return
|
||||
*/
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
//Some setup, notably to use with QSetting.
|
||||
QCoreApplication::setOrganizationName("QElectroTech");
|
||||
QCoreApplication::setOrganizationDomain("qelectrotech.org");
|
||||
QCoreApplication::setApplicationName("QElectroTech");
|
||||
//Creation and execution of the application
|
||||
return(QETApp(argc, argv).exec());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user