@@ -91,7 +91,7 @@ MainWindow::MainWindow(const QCommandLineParser& commandline_parser, QWidget* pa
9191 if (commandline_parser.isSet (" enabled_plugins" ))
9292 {
9393 _enabled_plugins =
94- commandline_parser.value (" enabled_plugins" ).split (" ;" , QString ::SkipEmptyParts);
94+ commandline_parser.value (" enabled_plugins" ).split (" ;" , PJ ::SkipEmptyParts);
9595 // Treat the command-line parameter '--enabled_plugins *' to mean all plugings are
9696 // enabled
9797 if ((_enabled_plugins.size () == 1 ) && (_enabled_plugins.contains (" *" )))
@@ -102,7 +102,7 @@ MainWindow::MainWindow(const QCommandLineParser& commandline_parser, QWidget* pa
102102 if (commandline_parser.isSet (" disabled_plugins" ))
103103 {
104104 _disabled_plugins =
105- commandline_parser.value (" disabled_plugins" ).split (" ;" , QString ::SkipEmptyParts);
105+ commandline_parser.value (" disabled_plugins" ).split (" ;" , PJ ::SkipEmptyParts);
106106 }
107107
108108 _curvelist_widget = new CurveListPanel (_mapped_plot_data, _transform_functions, this );
@@ -240,7 +240,7 @@ MainWindow::MainWindow(const QCommandLineParser& commandline_parser, QWidget* pa
240240
241241 // ------------ Load plugins -------------
242242 auto plugin_extra_folders =
243- commandline_parser.value (" plugin_folders" ).split (" ;" , QString ::SkipEmptyParts);
243+ commandline_parser.value (" plugin_folders" ).split (" ;" , PJ ::SkipEmptyParts);
244244
245245 _default_streamer = commandline_parser.value (" start_streamer" );
246246
@@ -3196,7 +3196,7 @@ void MainWindow::on_buttonSaveLayout_clicked()
31963196 if (file.open (QIODevice::WriteOnly))
31973197 {
31983198 QTextStream stream (&file);
3199- stream << doc.toString () << endl ;
3199+ stream << doc.toString () << " \n " ;
32003200 }
32013201}
32023202
0 commit comments