diff --git a/designer/main.cpp b/designer/main.cpp index 7d5084c..6ecf8ef 100644 --- a/designer/main.cpp +++ b/designer/main.cpp @@ -5,6 +5,9 @@ int main(int argc, char *argv[]) { QApplication a(argc, argv); LimeReport::ReportEngine report; + if (a.arguments().count()>1){ + report.loadFromFile(a.arguments().at(1)); + } report.designReport(); return a.exec(); }