Commit 834d0aa8 authored by Clément Stenac's avatar Clément Stenac

various fixes

parent 4ec49559
......@@ -50,8 +50,7 @@ BUILT_SOURCES += $(UIH) $(nodist_SOURCES_qt4)
endif
resources.cpp: res.qrc
rm -f $@
$(RCC) $< > $@
$(RCC) -name vlc -o $@ $<
$(MOCCPP): %.moc.cpp: %.hpp
@echo "$(MOC) $< -> $@"
......
......@@ -35,13 +35,17 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QMainWindow(), p_intf(
QVLCFrame::fixStyle( this );
QWidget *main = new QWidget( this );
setCentralWidget( main );
setWindowTitle( _("VLC media player") );
setWindowTitle( QString::fromUtf8( _("VLC media player") ) );
ui.setupUi( centralWidget() );
slider = new InputSlider( Qt::Horizontal, ui.sliderBox );
QVBoxLayout *box_layout = new QVBoxLayout();
box_layout->addWidget( slider );
ui.sliderBox->setLayout( box_layout );
ui.prevButton->setText( "" );
ui.nextButton->setText( "" );
ui.playButton->setText( "" );
ui.stopButton->setText( "" );
ui.prevButton->setIcon( QIcon( ":/pixmaps/previous.png" ) );
ui.nextButton->setIcon( QIcon( ":/pixmaps/next.png" ) );
ui.playButton->setIcon( QIcon( ":/pixmaps/play.png" ) );
......
......@@ -113,6 +113,8 @@ static void Init( intf_thread_t *p_intf )
{
char *argv[] = { "" };
int argc = 1;
Q_INIT_RESOURCE( vlc );
QApplication *app = new QApplication( argc, argv , true );
p_intf->p_sys->p_app = app;
......
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