Bugfix: Correctly disable Nero AAC option, if the Nero AAC encoder isn't available. Before this check was skipped, if Nero notifications were disabled!
This commit is contained in:
parent
c44d0020c9
commit
a66e6e9203
@ -30,7 +30,7 @@
|
||||
#define VER_LAMEXP_MINOR_LO 2
|
||||
#define VER_LAMEXP_TYPE Beta
|
||||
#define VER_LAMEXP_PATCH 2
|
||||
#define VER_LAMEXP_BUILD 538
|
||||
#define VER_LAMEXP_BUILD 539
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Tools versions
|
||||
|
@ -918,9 +918,9 @@ void MainWindow::windowShown(void)
|
||||
}
|
||||
|
||||
//Check for AAC support
|
||||
if(m_settings->neroAacNotificationsEnabled())
|
||||
if(lamexp_check_tool("neroAacEnc.exe") && lamexp_check_tool("neroAacDec.exe") && lamexp_check_tool("neroAacTag.exe"))
|
||||
{
|
||||
if(lamexp_check_tool("neroAacEnc.exe") && lamexp_check_tool("neroAacDec.exe") && lamexp_check_tool("neroAacTag.exe"))
|
||||
if(m_settings->neroAacNotificationsEnabled())
|
||||
{
|
||||
if(lamexp_tool_version("neroAacEnc.exe") < lamexp_toolver_neroaac())
|
||||
{
|
||||
@ -932,9 +932,12 @@ void MainWindow::windowShown(void)
|
||||
QMessageBox::information(this, tr("AAC Encoder Outdated"), messageText);
|
||||
}
|
||||
}
|
||||
else
|
||||
}
|
||||
else
|
||||
{
|
||||
radioButtonEncoderAAC->setEnabled(false);
|
||||
if(m_settings->neroAacNotificationsEnabled())
|
||||
{
|
||||
radioButtonEncoderAAC->setEnabled(false);
|
||||
QString appPath = QDir(QCoreApplication::applicationDirPath()).canonicalPath();
|
||||
if(appPath.isEmpty()) appPath = QCoreApplication::applicationDirPath();
|
||||
QString messageText;
|
||||
|
Loading…
Reference in New Issue
Block a user