File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -620,7 +620,7 @@ malletsSynth::malletsSynth( const StkFloat _pitch,
620
620
{
621
621
Stk::setSampleRate ( _sample_rate );
622
622
Stk::setRawwavePath ( QDir ( ConfigManager::inst ()->stkDir () ).absolutePath ()
623
- .toLatin1 ().constData () );
623
+ .toLocal8Bit ().constData () );
624
624
#ifndef LMMS_DEBUG
625
625
Stk::showWarnings ( false );
626
626
#endif
@@ -670,7 +670,7 @@ malletsSynth::malletsSynth( const StkFloat _pitch,
670
670
{
671
671
Stk::setSampleRate ( _sample_rate );
672
672
Stk::setRawwavePath ( QDir ( ConfigManager::inst ()->stkDir () ).absolutePath ()
673
- .toLatin1 ().constData () );
673
+ .toLocal8Bit ().constData () );
674
674
#ifndef LMMS_DEBUG
675
675
Stk::showWarnings ( false );
676
676
#endif
@@ -718,7 +718,7 @@ malletsSynth::malletsSynth( const StkFloat _pitch,
718
718
{
719
719
Stk::setSampleRate ( _sample_rate );
720
720
Stk::setRawwavePath ( QDir ( ConfigManager::inst ()->stkDir () ).absolutePath ()
721
- .toLatin1 ().constData () );
721
+ .toLocal8Bit ().constData () );
722
722
#ifndef LMMS_DEBUG
723
723
Stk::showWarnings ( false );
724
724
#endif
You can’t perform that action at this time.
0 commit comments