Skip to content

Commit

Permalink
ENH: comparegui: open files given on the commandline.
Browse files Browse the repository at this point in the history
  • Loading branch information
thewtex committed Dec 12, 2010
1 parent 39e82d0 commit d054148
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Main/comparegui.cxx
Expand Up @@ -44,6 +44,12 @@ int main(int argc, char **argv)
QGoSynchronizedViewMainWindow *SynchronizedViewMainWindow =
new QGoSynchronizedViewMainWindow();

for (int i = 1; i < argc; ++i)
{
QByteArray fileBa( argv[i] );
QString file( fileBa );
SynchronizedViewMainWindow->OpenSynchronizedViewForFile( file );
}
SynchronizedViewMainWindow->Update();
SynchronizedViewMainWindow->show();

Expand Down

0 comments on commit d054148

Please sign in to comment.