summaryrefslogtreecommitdiff
authorsimon <simon>2003-07-31 10:37:21 (UTC)
committer simon <simon>2003-07-31 10:37:21 (UTC)
commite5bed303e50298d91a6adf9e0b5cf7dd3d975ed3 (patch) (side-by-side diff)
tree76032b962220a336daa6f8362784a3c38bdcb4f3
parente7cb83fcf64affbf75cf868759e4e222eb8b985f (diff)
downloadopie-e5bed303e50298d91a6adf9e0b5cf7dd3d975ed3.zip
opie-e5bed303e50298d91a6adf9e0b5cf7dd3d975ed3.tar.gz
opie-e5bed303e50298d91a6adf9e0b5cf7dd3d975ed3.tar.bz2
- need an assert.h inclusion here
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/mediawidget.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/mediawidget.cpp b/noncore/multimedia/opieplayer2/mediawidget.cpp
index 46e7b6e..3953d92 100644
--- a/noncore/multimedia/opieplayer2/mediawidget.cpp
+++ b/noncore/multimedia/opieplayer2/mediawidget.cpp
@@ -15,24 +15,26 @@
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; see the file COPYING. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/
#include "mediawidget.h"
#include "playlistwidget.h"
#include "skin.h"
+#include <assert.h>
+
MediaWidget::MediaWidget( PlayListWidget &_playList, MediaPlayerState &_mediaPlayerState, QWidget *parent, const char *name )
: QWidget( parent, name ), mediaPlayerState( _mediaPlayerState ), playList( _playList )
{
connect( &mediaPlayerState, SIGNAL( displayTypeChanged( MediaPlayerState::DisplayType ) ),
this, SLOT( setDisplayType( MediaPlayerState::DisplayType ) ) );
connect( &mediaPlayerState, SIGNAL( lengthChanged( long ) ),
this, SLOT( setLength( long ) ) );
connect( &mediaPlayerState, SIGNAL( playingToggled( bool ) ),
this, SLOT( setPlaying( bool ) ) );
setBackgroundMode( NoBackground );
}