Permalink
Browse files

Made Heimdall Frontend pass the --verbose parameter for all actions w…

…hen 'Verbose Output' is checked.
  • Loading branch information...
1 parent 648bfb1 commit 7a8f81347bb79a4e08ba4990f143af71c98fe1c2 @Benjamin-Dobell committed Oct 13, 2012
Showing with 12 additions and 0 deletions.
  1. +12 −0 heimdall-frontend/Source/mainwindow.cpp
@@ -1078,6 +1078,9 @@ void MainWindow::DetectDevice(void)
QStringList arguments;
arguments.append("detect");
+ if (verboseOutput)
+ arguments.append("--verbose");
+
arguments.append("--stdout-errors");
StartHeimdall(arguments);
@@ -1093,6 +1096,9 @@ void MainWindow::ClosePcScreen(void)
QStringList arguments;
arguments.append("close-pc-screen");
+ if (verboseOutput)
+ arguments.append("--verbose");
+
arguments.append("--stdout-errors");
StartHeimdall(arguments);
@@ -1129,6 +1135,9 @@ void MainWindow::DownloadPit(void)
arguments.append("--no-reboot");
+ if (verboseOutput)
+ arguments.append("--verbose");
+
arguments.append("--stdout-errors");
StartHeimdall(arguments);
@@ -1188,6 +1197,9 @@ void MainWindow::PrintPit(void)
arguments.append("--stdout-errors");
arguments.append("--no-reboot");
+ if (verboseOutput)
+ arguments.append("--verbose");
+
StartHeimdall(arguments);
}

0 comments on commit 7a8f813

Please sign in to comment.