~ubuntu-branches/ubuntu/vivid/psi/vivid

« back to all changes in this revision

Viewing changes to src/main.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Krzysztof Klimonda
  • Date: 2009-04-17 16:48:00 UTC
  • Revision ID: james.westby@ubuntu.com-20090417164800-ko2nrmckx7bb5dj1
Tags: 0.12-2ubuntu1
Fix psi to work with QT 4.5. Upstream commit
d440f16e1241915fed1d859c93ab54cb738112af; applied inline. (LP: #333246)

Show diffs side-by-side

added added

removed removed

Lines of Context:
274
274
 
275
275
int main(int argc, char *argv[])
276
276
{
 
277
        PsiApplication app(argc, argv);
277
278
        // it must be initialized first in order for ApplicationInfo::resourcesDir() to work
278
279
        QCA::Initializer init;
279
 
        PsiApplication app(argc, argv);
280
280
        QApplication::addLibraryPath(ApplicationInfo::resourcesDir());
281
281
        QApplication::addLibraryPath(ApplicationInfo::homeDir());
282
282
        QApplication::setQuitOnLastWindowClosed(false);