mirror of
https://github.com/LMMS/lmms.git
synced 2026-05-19 12:16:16 -04:00
Disable built-in NaN handler through hidden setting (#4787)
* Disable built-in NaN handler through hidden setting * Reuse code
This commit is contained in:
committed by
GitHub
parent
0a47b0c8cd
commit
b28d405240
@@ -64,6 +64,7 @@
|
||||
#include "GuiApplication.h"
|
||||
#include "ImportFilter.h"
|
||||
#include "MainWindow.h"
|
||||
#include "MixHelpers.h"
|
||||
#include "OutputSettings.h"
|
||||
#include "ProjectRenderer.h"
|
||||
#include "RenderManager.h"
|
||||
@@ -633,6 +634,10 @@ int main( int argc, char * * argv )
|
||||
|
||||
ConfigManager::inst()->loadConfigFile(configFile);
|
||||
|
||||
// Hidden settings
|
||||
MixHelpers::setNaNHandler( ConfigManager::inst()->value( "app",
|
||||
"nanhandler", "1" ).toInt() );
|
||||
|
||||
// set language
|
||||
QString pos = ConfigManager::inst()->value( "app", "language" );
|
||||
if( pos.isEmpty() )
|
||||
|
||||
Reference in New Issue
Block a user