~oluseyi-deactivatedaccount/pencil/trunk

« back to all changes in this revision

Viewing changes to src/main.cpp

  • Committer: volute
  • Date: 2007-10-16 02:39:34 UTC
  • Revision ID: svn-v4:f509e8e7-a431-0410-8952-ba4f3f4fc37f:trunk:40
1) A test is done before opening a file (doesn't crash any more if it is not a Pencil document)
2) Vector graphics files (.vec) can be imported at specific frames
3) main.cpp was restored after wrong modification in the last revision

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
        app.setWindowIcon(QIcon(":/icons/icon.png"));
27
27
#endif
28
28
        initialise();
29
 
        QDir dir(QApplication::applicationDirPath());
 
29
        /*QDir dir(QApplication::applicationDirPath());
30
30
        dir.cdUp();
31
31
        if(dir.cd("plugins")) {
32
32
                QApplication::setLibraryPaths(QStringList(dir.absolutePath()));
33
 
        }
 
33
        }*/
34
34
        MainWindow mainWindow;
35
35
        mainWindow.show();
36
36
    return app.exec();