Qt4 - Remove preferences button from interface. Remove unuseful debug.
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 9 Sep 2007 23:59:19 +0000 (23:59 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 9 Sep 2007 23:59:19 +0000 (23:59 +0000)
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/components/interface_widgets.hpp
modules/gui/qt4/main_interface.cpp

index 7825b34..862044f 100644 (file)
@@ -457,13 +457,6 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i, bool b_advControls ) :
     setupSmallButton( extSettingsButton );
     controlLayout->addWidget( extSettingsButton, 3, 12 );
 
-    /** Preferences **/
-    QPushButton *prefsButton = new QPushButton( "P" );
-    BUTTON_SET_ACT( prefsButton, "P", qtr( "Preferences / Settings" ),
-            prefs() );
-    setupSmallButton( prefsButton );
-    controlLayout->addWidget( prefsButton, 3, 13 );
-
     controlLayout->setColumnStretch( 14, 5 );
 
     /* Volume */
@@ -616,10 +609,6 @@ void ControlsWidget::extSettings()
 {
     THEDP->extendedDialog();
 }
-void ControlsWidget::prefs()
-{
-    THEDP->prefsDialog();
-}
 
 void ControlsWidget::slower()
 {
index c41d358..f9c52eb 100644 (file)
@@ -170,7 +170,6 @@ private slots:
     void updateVolume( int );
     void fullscreen();
     void extSettings();
-    void prefs();
     void faster();
     void slower();
     void toggleAdvanced();
index a9d69de..93820bb 100644 (file)
@@ -675,7 +675,6 @@ void MainInterface::setDisplayPosition( float pos, int time, int length )
 
 void MainInterface::toggleTimeDisplay()
 {
-    msg_Dbg( p_intf, "coincoin" );
     b_remainingTime = ( b_remainingTime ? false : true );
 }