diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2017-10-07 21:17:36 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2017-10-07 21:17:36 +0000 |
| commit | be8175313645542ae50e175a0b72c611e9178ae1 (patch) | |
| tree | 62f95bbc38e5327be81cb0bf904f2710404629e4 /src/plugins/Input/cdaudio | |
| parent | 968048296c2d2650a6083a5d99ea3914352958e1 (diff) | |
| download | qmmp-be8175313645542ae50e175a0b72c611e9178ae1.tar.gz qmmp-be8175313645542ae50e175a0b72c611e9178ae1.tar.bz2 qmmp-be8175313645542ae50e175a0b72c611e9178ae1.zip | |
fixed build regression
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7519 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/cdaudio')
| -rw-r--r-- | src/plugins/Input/cdaudio/decoder_cdaudio.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/Input/cdaudio/decoder_cdaudio.cpp b/src/plugins/Input/cdaudio/decoder_cdaudio.cpp index 69f5d2c0a..866d517e1 100644 --- a/src/plugins/Input/cdaudio/decoder_cdaudio.cpp +++ b/src/plugins/Input/cdaudio/decoder_cdaudio.cpp @@ -241,17 +241,17 @@ QList <CDATrack> DecoderCDAudio::generateTrackList(const QString &device) if (settings.value("cddb_http", false).toBool()) { cddb_http_enable (cddb_conn); - cddb_set_http_path_query (cddb_conn, settings.value("cddb_path").toByteArray()); + cddb_set_http_path_query (cddb_conn, settings.value("cddb_path").toByteArray().constData()); if (QmmpSettings::instance()->isProxyEnabled()) { QUrl proxy = QmmpSettings::instance()->proxy(); cddb_http_proxy_enable (cddb_conn); - cddb_set_http_proxy_server_name (cddb_conn, proxy.host().toLatin1 ()); + cddb_set_http_proxy_server_name (cddb_conn, proxy.host().toLatin1().constData()); cddb_set_http_proxy_server_port (cddb_conn, proxy.port()); if(QmmpSettings::instance()->useProxyAuth()) { - cddb_set_http_proxy_username (cddb_conn, proxy.userName().toLatin1()); - cddb_set_http_proxy_password (cddb_conn, proxy.password().toLatin1()); + cddb_set_http_proxy_username (cddb_conn, proxy.userName().toLatin1().constData()); + cddb_set_http_proxy_password (cddb_conn, proxy.password().toLatin1().constData()); } } } |
