diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2017-01-03 19:50:58 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2017-01-03 19:50:58 +0000 |
| commit | 501a20123427698e3c078583816804f4befb82ad (patch) | |
| tree | c9bf0b1e1800e4d0a63a8b699d2c8f9fae4533f7 /src/plugins/Input/cdaudio | |
| parent | cd9ed90720b9695d4bf6194d54a49d78ffe39710 (diff) | |
| download | qmmp-501a20123427698e3c078583816804f4befb82ad.tar.gz qmmp-501a20123427698e3c078583816804f4befb82ad.tar.bz2 qmmp-501a20123427698e3c078583816804f4befb82ad.zip | |
replaced toAscii by toLatin1
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@6933 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/cdaudio')
| -rw-r--r-- | src/plugins/Input/cdaudio/decoder_cdaudio.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/Input/cdaudio/decoder_cdaudio.cpp b/src/plugins/Input/cdaudio/decoder_cdaudio.cpp index 66c753832..6cb7bab75 100644 --- a/src/plugins/Input/cdaudio/decoder_cdaudio.cpp +++ b/src/plugins/Input/cdaudio/decoder_cdaudio.cpp @@ -141,7 +141,7 @@ QList <CDATrack> DecoderCDAudio::generateTrackList(const QString &device) } else { - cdio = cdio_open_cd(device_path.toAscii().constData()); + cdio = cdio_open_cd(device_path.toLatin1().constData()); if (!cdio) { qWarning("DecoderCDAudio: failed to open CD."); @@ -246,12 +246,12 @@ QList <CDATrack> DecoderCDAudio::generateTrackList(const QString &device) { QUrl proxy = QmmpSettings::instance()->proxy(); cddb_http_proxy_enable (cddb_conn); - cddb_set_http_proxy_server_name (cddb_conn, proxy.host().toAscii ()); + cddb_set_http_proxy_server_name (cddb_conn, proxy.host().toLatin1 ()); cddb_set_http_proxy_server_port (cddb_conn, proxy.port()); if(QmmpSettings::instance()->useProxyAuth()) { - cddb_set_http_proxy_username (cddb_conn, proxy.userName().toAscii()); - cddb_set_http_proxy_password (cddb_conn, proxy.password().toAscii()); + cddb_set_http_proxy_username (cddb_conn, proxy.userName().toLatin1()); + cddb_set_http_proxy_password (cddb_conn, proxy.password().toLatin1()); } } } @@ -438,7 +438,7 @@ bool DecoderCDAudio::initialize() } else { - m_cdio = cdio_open_cd(device_path.toAscii().constData()); + m_cdio = cdio_open_cd(device_path.toLatin1().constData()); if (!m_cdio) { qWarning("DecoderCDAudio: failed to open CD."); |
