From b1057f437bf65300831a0ccb45b920787c6b318d Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 11 Jun 2011 06:00:15 +0000 Subject: TQt4 port kdemultimedia This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1236079 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kscd/libwm/plat_news.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kscd/libwm/plat_news.c') diff --git a/kscd/libwm/plat_news.c b/kscd/libwm/plat_news.c index 4b9f2ef7..304ebfda 100644 --- a/kscd/libwm/plat_news.c +++ b/kscd/libwm/plat_news.c @@ -181,7 +181,7 @@ int gen_get_drive_status( struct wm_drive *d, int oldmode, int *mode, int *pos, int *track, int *index) { - struct CD_Status sc; + struct CD_tqStatus sc; /* If we can't get status, the CD is ejected, so default to that. */ *mode = WM_CDM_EJECTED; @@ -199,7 +199,7 @@ gen_get_drive_status( struct wm_drive *d, int oldmode, } /* Disc is ejected. Close the device. */ - if (CD_GetStatus(d->fd, &sc)) + if (CD_GettqStatus(d->fd, &sc)) { gen_close(d); return (0); -- cgit v1.2.1