summaryrefslogtreecommitdiff
path: root/src/plugins/pulseaudio
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-05-03 16:58:59 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-04 13:36:08 +0200
commitb2b92dad82db4ed07a7eeb10f8e225d22d54a6c1 (patch)
tree7b3eaaabcd21c917d06f284e7ba95a5d91d7190a /src/plugins/pulseaudio
parent025f4d2ee1cdc4a68e880854584f9bef0980b630 (diff)
downloadqtmultimedia-b2b92dad82db4ed07a7eeb10f8e225d22d54a6c1.tar.gz
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>
Diffstat (limited to 'src/plugins/pulseaudio')
-rw-r--r--src/plugins/pulseaudio/qpulseaudioengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/pulseaudio/qpulseaudioengine.cpp b/src/plugins/pulseaudio/qpulseaudioengine.cpp
index 2bb36fe1c..03a8dbd05 100644
--- a/src/plugins/pulseaudio/qpulseaudioengine.cpp
+++ b/src/plugins/pulseaudio/qpulseaudioengine.cpp
@@ -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) {