mirror of
https://github.com/YACReader/yacreader
synced 2025-07-21 06:24:39 -04:00
moved settings files from local dir to standar paths
added YACReaderLibraries class, libraries are now identified by id
This commit is contained in:
@ -30,11 +30,13 @@ int main(int argc, char * argv[])
|
||||
|
||||
QApplication app(argc, argv);
|
||||
|
||||
app.setApplicationName("YACReader");
|
||||
app.setOrganizationName("YACReader");
|
||||
|
||||
QTranslator translator;
|
||||
QString sufix = QLocale::system().name();
|
||||
translator.load(QCoreApplication::applicationDirPath()+"/languages/yacreader_"+sufix);
|
||||
app.installTranslator(&translator);
|
||||
app.setApplicationName("YACReader");
|
||||
|
||||
MainWindowViewer * mwv = new MainWindowViewer();
|
||||
mwv->show();
|
||||
|
Reference in New Issue
Block a user