diff --git a/main.cpp b/main.cpp index 35317ba..db22e4c 100644 --- a/main.cpp +++ b/main.cpp @@ -6,17 +6,17 @@ int main(int argc, char *argv[]) { QApplication app(argc, argv); - QGuiApplication::setApplicationDisplayName(PylonRecorder::tr("Image Viewer")); + QGuiApplication::setApplicationDisplayName(PylonRecorder::tr("Pylon Recorder")); QCommandLineParser commandLineParser; commandLineParser.addHelpOption(); commandLineParser.addPositionalArgument(PylonRecorder::tr("[file]"), PylonRecorder::tr("Image file to open.")); commandLineParser.process(QCoreApplication::arguments()); - PylonRecorder imageViewer; + PylonRecorder recorder; if (!commandLineParser.positionalArguments().isEmpty() - && !imageViewer.loadFile(commandLineParser.positionalArguments().front())) { + && !recorder.loadFile(commandLineParser.positionalArguments().front())) { return -1; } - imageViewer.show(); + recorder.show(); int ret = app.exec(); return ret; }