OSDN Git Service

Removed a superfluous MessageBeep().
authorlordmulder <mulder2@gmx.de>
Tue, 31 Jul 2012 19:03:43 +0000 (21:03 +0200)
committerlordmulder <mulder2@gmx.de>
Tue, 31 Jul 2012 19:03:43 +0000 (21:03 +0200)
src/Config.h
src/Dialog_MainWindow.cpp

index a9e73a5..4bd863a 100644 (file)
@@ -30,7 +30,7 @@
 #define VER_LAMEXP_MINOR_LO                                    5
 #define VER_LAMEXP_TYPE                                                Alpha
 #define VER_LAMEXP_PATCH                                       12
-#define VER_LAMEXP_BUILD                                       1066
+#define VER_LAMEXP_BUILD                                       1067
 
 ///////////////////////////////////////////////////////////////////////////////
 // Tool versions (minimum expected versions!)
index 8d52251..4d23871 100644 (file)
@@ -3818,19 +3818,19 @@ void MainWindow::customParamsHelpRequested(QWidget *obj, QEvent *event)
                }
        }
 
-       if(obj == helpCustomParamLAME)      showCustomParamsHelpScreen("lame.exe",        "--longhelp");
-       if(obj == helpCustomParamOggEnc)    showCustomParamsHelpScreen("oggenc2.exe",     "--help"    );
-       if(obj == helpCustomParamNeroAAC)
-       {
-               if(m_qaacEncoderAvailable)      showCustomParamsHelpScreen("qaac.exe",        "--help"    );
-               else if(m_fhgEncoderAvailable)  showCustomParamsHelpScreen("fhgaacenc.exe",   ""          );
-               else if(m_neroEncoderAvailable) showCustomParamsHelpScreen("neroAacEnc.exe",  "-help"     );
-       }
-       if(obj == helpCustomParamFLAC)      showCustomParamsHelpScreen("flac.exe",        "--help"    );
-       if(obj == helpCustomParamAften)     showCustomParamsHelpScreen("aften.exe",       "-h"        );
-       if(obj == helpCustomParamOpus)      showCustomParamsHelpScreen("opusenc_std.exe", "--help"    );
-
-       MessageBeep(MB_ICONERROR);
+       if(obj == helpCustomParamLAME)         showCustomParamsHelpScreen("lame.exe", "--longhelp");
+       else if(obj == helpCustomParamOggEnc)  showCustomParamsHelpScreen("oggenc2.exe", "--help");
+       else if(obj == helpCustomParamNeroAAC)
+       {
+               if(m_qaacEncoderAvailable)         showCustomParamsHelpScreen("qaac.exe", "--help");
+               else if(m_fhgEncoderAvailable)     showCustomParamsHelpScreen("fhgaacenc.exe", "");
+               else if(m_neroEncoderAvailable)    showCustomParamsHelpScreen("neroAacEnc.exe", "-help");
+               else MessageBeep(MB_ICONERROR);
+       }
+       else if(obj == helpCustomParamFLAC)    showCustomParamsHelpScreen("flac.exe", "--help");
+       else if(obj == helpCustomParamAften)   showCustomParamsHelpScreen("aften.exe", "-h");
+       else if(obj == helpCustomParamOpus)    showCustomParamsHelpScreen("opusenc_std.exe", "--help");
+       else MessageBeep(MB_ICONERROR);
 }
 
 /*