author | zecke <zecke> | 2004-09-10 11:05:37 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-09-10 11:05:37 (UTC) |
commit | d416ff23ea50303173d07ea243498a163f5995b5 (patch) (unidiff) | |
tree | 8ab861514fd1dc87c509e6ac988ed683f82370ec | |
parent | 224c96feb94acd6a87e1a2463aca9726afe925ef (diff) | |
download | opie-d416ff23ea50303173d07ea243498a163f5995b5.zip opie-d416ff23ea50303173d07ea243498a163f5995b5.tar.gz opie-d416ff23ea50303173d07ea243498a163f5995b5.tar.bz2 |
The usual... fix warnings about unused parameters
-rw-r--r-- | libopie2/opiemm/oimagezoomer.cpp | 2 | ||||
-rw-r--r-- | libopie2/opiemm/osoundsystem.cpp | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/libopie2/opiemm/oimagezoomer.cpp b/libopie2/opiemm/oimagezoomer.cpp index d1eec67..b7ef238 100644 --- a/libopie2/opiemm/oimagezoomer.cpp +++ b/libopie2/opiemm/oimagezoomer.cpp | |||
@@ -198,7 +198,7 @@ void OImageZoomer::drawContents( QPainter* p ) { | |||
198 | p->drawRect( x, y, w, h ); | 198 | p->drawRect( x, y, w, h ); |
199 | } | 199 | } |
200 | 200 | ||
201 | void OImageZoomer::mousePressEvent( QMouseEvent*ev) { | 201 | void OImageZoomer::mousePressEvent( QMouseEvent*) { |
202 | m_mouseX = m_mouseY = -1; | 202 | m_mouseX = m_mouseY = -1; |
203 | m_mevent = true; | 203 | m_mevent = true; |
204 | } | 204 | } |
diff --git a/libopie2/opiemm/osoundsystem.cpp b/libopie2/opiemm/osoundsystem.cpp index 2b17230..763ff65 100644 --- a/libopie2/opiemm/osoundsystem.cpp +++ b/libopie2/opiemm/osoundsystem.cpp | |||
@@ -82,7 +82,7 @@ void OSoundSystem::synchronize() | |||
82 | { | 82 | { |
83 | s >> str; | 83 | s >> str; |
84 | str.truncate( str.find( ':' ) ); | 84 | str.truncate( str.find( ':' ) ); |
85 | odebug << "OSoundSystem: found interface '" << str << "'" << oendl; | 85 | odebug << "OSoundSystem: found interface '" << str << "'" << oendl; |
86 | OAudioInterface* iface; | 86 | OAudioInterface* iface; |
87 | iface = new OAudioInterface( this, (const char*) str ); | 87 | iface = new OAudioInterface( this, (const char*) str ); |
88 | 88 | ||
@@ -237,8 +237,8 @@ void OMixerInterface::init() | |||
237 | /* ChannelIterator it; | 237 | /* ChannelIterator it; |
238 | for ( it = _channels.begin(); it != _channels.end(); ++it ) | 238 | for ( it = _channels.begin(); it != _channels.end(); ++it ) |
239 | { | 239 | { |
240 | odebug << "Channel " << it.key() << " available (bit " << it.data() << ")" << oendl; | 240 | odebug << "Channel " << it.key() << " available (bit " << it.data() << ")" << oendl; |
241 | odebug << " +--- Volume: " << volume( it.key() ) & 0xff << " | " << volume( it.key() ) >> 8 << "" << oendl; | 241 | odebug << " +--- Volume: " << volume( it.key() ) & 0xff << " | " << volume( it.key() ) >> 8 << "" << oendl; |
242 | } | 242 | } |
243 | */ | 243 | */ |
244 | } | 244 | } |
@@ -259,12 +259,14 @@ QStringList OMixerInterface::allChannels() const | |||
259 | QStringList OMixerInterface::recChannels() const | 259 | QStringList OMixerInterface::recChannels() const |
260 | { | 260 | { |
261 | owarn << "NYI" << oendl; | 261 | owarn << "NYI" << oendl; |
262 | return QStringList(); | ||
262 | } | 263 | } |
263 | 264 | ||
264 | 265 | ||
265 | QStringList OMixerInterface::playChannels() const | 266 | QStringList OMixerInterface::playChannels() const |
266 | { | 267 | { |
267 | owarn << "NYI" << oendl; | 268 | owarn << "NYI" << oendl; |
269 | return QStringList(); | ||
268 | } | 270 | } |
269 | 271 | ||
270 | 272 | ||