~george-edison55/pedeconstructor/trunk

« back to all changes in this revision

Viewing changes to src/CMainWindow.cpp

  • Committer: Nathan Osman
  • Date: 2012-05-20 07:56:36 UTC
  • Revision ID: admin@quickmediasolutions.com-20120520075636-a8397weew6v3rqs6
Fixed invalid array offset.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
 
34
34
    // Parse command-line options
35
35
    if(QCoreApplication::arguments().count() == 2)
36
 
        OnOpenExecutable(QCoreApplication::arguments().at(2));
 
36
        OnOpenExecutable(QCoreApplication::arguments().at(1));
37
37
}
38
38
 
39
39
CMainWindow::~CMainWindow()
85
85
 
86
86
void CMainWindow::OnAbout()
87
87
{
88
 
    CAboutDialog dialog;
89
 
    dialog.exec();
 
88
    CAboutDialog().exec();
90
89
}