Fix "Debug" configuration.
This commit is contained in:
parent
f54fd17b3c
commit
67b698ba4d
@ -585,10 +585,15 @@ void MainWindow::changeEvent(QEvent *e)
|
||||
comboBoxSamplingRate->setCurrentIndex(comboBoxIndex[1]);
|
||||
comboBoxNeroAACProfile->setCurrentIndex(comboBoxIndex[2]);
|
||||
|
||||
//Update the window title
|
||||
#if !defined(_DEBUG) && !defined(QT_DEBUG) && defined(NDEBUG) && defined(QT_NO_DEBUG)
|
||||
if(lamexp_version_demo())
|
||||
{
|
||||
setWindowTitle(QString("%1 [%2]").arg(windowTitle(), tr("DEMO VERSION")));
|
||||
}
|
||||
#else
|
||||
setWindowTitle(QString("%1 [!!! DEBUG BUILD !!!]").arg(windowTitle()));
|
||||
#endif
|
||||
|
||||
//Manually re-translate widgets that UIC doesn't handle
|
||||
m_dropNoteLabel->setText(QString("» %1 «").arg(tr("You can drop in audio files here!")));
|
||||
|
@ -57,6 +57,13 @@
|
||||
|
||||
//Debug only includes
|
||||
#ifdef _DEBUG
|
||||
#ifndef _WIN32_WINNT
|
||||
#define _WIN32_WINNT 0x0501
|
||||
#endif
|
||||
#if(_WIN32_WINNT < 0x0501)
|
||||
#undef _WIN32_WINNT
|
||||
#define _WIN32_WINNT 0x0501
|
||||
#endif
|
||||
#include <Psapi.h>
|
||||
#endif //_DEBUG
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user