Commit e01d72d9 authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Media: Solving a signal type problem.

parent 1a039c7a
......@@ -21,6 +21,7 @@
*****************************************************************************/
#include "GuiMedia.h"
#include "Media.h"
QPixmap* GUIMedia::defaultSnapshot = NULL;
......@@ -56,5 +57,5 @@ GUIMedia::snapshot() const
void
GUIMedia::emitSnapshotComputed()
{
emit snapshotComputed( this );
emit snapshotComputed( qobject_cast<const Media*>( this ) );
}
......@@ -27,6 +27,7 @@
#include <QPixmap>
class QPixmap;
class Media;
class GUIMedia : public QObject
{
......@@ -47,7 +48,7 @@ protected:
signals:
void snapshotComputed( const GUIMedia* );
void snapshotComputed( const Media* );
};
#endif // GUIMEDIA_H
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment