Allow opening a specific workspace path from the commandline

FossilOrigin-Name: e42f476b1c07959ee224b1abbd60f811893d0717
This commit is contained in:
kostas
2012-04-15 14:42:09 +00:00
parent b25efbddd1
commit ef4945494c
5 changed files with 30 additions and 16 deletions

View File

@ -15,7 +15,11 @@ int main(int argc, char *argv[])
#endif
{
MainWindow w;
QString workspace;
if(a.arguments().length()>1)
workspace = a.arguments()[1];
MainWindow w(0, &workspace);
w.show();
return a.exec();
}