~lubuntu-dev/juffed/trunk

« back to all changes in this revision

Viewing changes to src/app/main.cpp

  • Committer: subik
  • Date: 2010-10-25 20:04:28 UTC
  • Revision ID: git-v1:23b878f1074db7107c09be0fb2534309e3ca5f7e
initial import of macosx support

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
        app.setOrganizationName("juff");
24
24
        app.setApplicationName("juffed");
25
25
 
 
26
#ifdef APPLEBUNDLE
 
27
    // If is the app built as an Apple Bundle, the libjuff is
 
28
    // staically linked into the exe. Resources has to be initialized
 
29
    // manually in this case. See Qt4 docs: The Qt Resource System.
 
30
    Q_INIT_RESOURCE(LibResources);
 
31
#endif
 
32
 
26
33
        loadTranslations(app);
27
34
}
28
35