summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarrell Anderson <[email protected]>2012-11-03 16:45:52 -0500
committerDarrell Anderson <[email protected]>2012-11-03 16:45:52 -0500
commit4e958b3385168688f6105c7db3f4e0623c9f1904 (patch)
tree7c2535700c23b9bb1de0171a333748983eb5101d
parentc8804353e5da9f1074f09f67f0fcd718c89e40bf (diff)
downloadamarok-4e958b3385168688f6105c7db3f4e0623c9f1904.tar.gz
amarok-4e958b3385168688f6105c7db3f4e0623c9f1904.zip
Fix deprecation build warnings. The "preferred" function has
been available since at least xine 1.1.1 from 2005-11-15.
-rw-r--r--amarok/src/engine/xine/xine-engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/amarok/src/engine/xine/xine-engine.cpp b/amarok/src/engine/xine/xine-engine.cpp
index 1d284c98..eebec189 100644
--- a/amarok/src/engine/xine/xine-engine.cpp
+++ b/amarok/src/engine/xine/xine-engine.cpp
@@ -937,7 +937,7 @@ XineEngine::XineEventListener( void *p, const xine_event_t* xineEvent )
/// xine has read the stream and found it actually links to something else
/// so we need to play that instead
- TQString message = TQString::fromUtf8( static_cast<xine_mrl_reference_data_t*>(xineEvent->data)->mrl );
+ TQString message = TQString::fromUtf8( static_cast<xine_mrl_reference_data_ext_t*>(xineEvent->data)->mrl );
TQCustomEvent *e = new TQCustomEvent( 3004 );
e->setData( new TQString( message ) );