Commit f15e3d7d authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4: This would be better. And should now be fine.

parent f7166b8b
/*****************************************************************************
* streaminfo.cpp : Information about an item
* mediainfo.cpp : Information about an item
****************************************************************************
* Copyright (C) 2006 the VideoLAN team
* $Id$
......@@ -24,7 +24,7 @@
#include <QTabWidget>
#include <QGridLayout>
#include "dialogs/streaminfo.hpp"
#include "dialogs/mediainfo.hpp"
#include "input_manager.hpp"
#include "dialogs_provider.hpp"
#include "util/qvlcframe.hpp"
......@@ -53,13 +53,13 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf ) :QVLCFrame( _p_intf )
ON_TIMEOUT( update() );
var_AddCallback( THEPL, "item-change", ItemChanged, this );
readSettings( "StreamInfo" , QSize( 500, 450 ) );
readSettings( "mediainfo" , QSize( 500, 450 ) );
}
MediaInfoDialog::~MediaInfoDialog()
{
var_DelCallback( THEPL, "item-change", ItemChanged, this );
writeSettings( "StreamInfo" );
writeSettings( "mediainfo" );
}
static int ItemChanged( vlc_object_t *p_this, const char *psz_var,
......
/*****************************************************************************
* streaminfo.hpp : Information about a stream
* mediainfo.hpp : Information about a stream
****************************************************************************
* Copyright (C) 2006 the VideoLAN team
* $Id$
......
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