5 using namespace musique
;
7 int main(int argc
, char * argv
[])
9 QApplication
app(argc
, argv
);
11 QString locale
= QLocale::system().name();
12 QTranslator translator
;
13 translator
.load(QString(UI_PATH_TRANSLATIONS
"musique_") + locale
);
14 app
.installTranslator(&translator
);
15 app
.setQuitOnLastWindowClosed(false);
17 //open config dir or create it if does not exist
19 QDir workdir(UI_PATH_WORK);
20 if (!workdir.exists()) {
22 workdir.mkdir(UI_DIR_WORK);
26 CConnectionManager mainwin
;