Change uses of {to,from}Ascii to {to,from}Latin1
This operation should be a no-op anyway, since at this point in time, the fromAscii and toAscii functions simply call their fromLatin1 and toLatin1 counterparts. Task-number: QTBUG-21872 Change-Id: Ic591779a3431999c007fb0ff362c7e25ce54097e Reviewed-by: Jonas Rabbe <jonas.rabbe@gmail.com>
This commit is contained in:
committed by
Qt by Nokia
parent
025f4d2ee1
commit
b2b92dad82
@@ -208,7 +208,7 @@ QPulseAudioEngine::QPulseAudioEngine(QObject *parent)
|
||||
|
||||
pa_threaded_mainloop_lock(m_mainLoop);
|
||||
|
||||
m_context = pa_context_new(m_mainLoopApi, QString(QLatin1String("QtmPulseContext:%1")).arg(::getpid()).toAscii().constData());
|
||||
m_context = pa_context_new(m_mainLoopApi, QString(QLatin1String("QtmPulseContext:%1")).arg(::getpid()).toLatin1().constData());
|
||||
pa_context_set_state_callback(m_context, contextStateCallbackInit, this);
|
||||
|
||||
if (!m_context) {
|
||||
|
||||
Reference in New Issue
Block a user