[vlc-commits] qt4: cosmetic rename

Rémi Denis-Courmont git at videolan.org
Fri Oct 23 19:23:02 CEST 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Oct 23 19:53:56 2015 +0300| [146ad882b0e03ebe27a4638febb6b664763b4cc9] | committer: Rémi Denis-Courmont

qt4: cosmetic rename

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=146ad882b0e03ebe27a4638febb6b664763b4cc9
---

 modules/gui/qt4/components/interface_widgets.cpp |    2 +-
 modules/gui/qt4/components/interface_widgets.hpp |    2 +-
 modules/gui/qt4/main_interface.cpp               |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp
index 50cf105..00eca38 100644
--- a/modules/gui/qt4/components/interface_widgets.cpp
+++ b/modules/gui/qt4/components/interface_widgets.cpp
@@ -160,7 +160,7 @@ WId VideoWidget::request( struct vout_window_t *p_wnd, unsigned int *pi_width,
 /* Set the Widget to the correct Size */
 /* Function has to be called by the parent
    Parent has to care about resizing itself */
-void VideoWidget::SetSizing( unsigned int w, unsigned int h )
+void VideoWidget::setSize( unsigned int w, unsigned int h )
 {
     resize( w, h );
     emit sizeChanged( w, h );
diff --git a/modules/gui/qt4/components/interface_widgets.hpp b/modules/gui/qt4/components/interface_widgets.hpp
index 3e98522..437b17f 100644
--- a/modules/gui/qt4/components/interface_widgets.hpp
+++ b/modules/gui/qt4/components/interface_widgets.hpp
@@ -81,7 +81,7 @@ signals:
     void sizeChanged( int, int );
 
 public slots:
-    void SetSizing( unsigned int, unsigned int );
+    void setSize( unsigned int, unsigned int );
 };
 
 /******************** Background Widget ****************/
diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index 7c123c7..6abda4b 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -734,7 +734,7 @@ void MainInterface::getVideoSlot( WId *p_id, struct vout_window_t *p_wnd,
 
         /* Ask videoWidget to resize correctly, if we are in normal mode */
         if( !isFullScreen() && !isMaximized() && b_autoresize )
-            videoWidget->SetSizing( *pi_width, *pi_height );
+            videoWidget->setSize( *pi_width, *pi_height );
     }
 }
 
@@ -772,7 +772,7 @@ void MainInterface::releaseVideoSlot( void )
 void MainInterface::setVideoSize( unsigned int w, unsigned int h )
 {
     if( !isFullScreen() && !isMaximized() )
-        videoWidget->SetSizing( w, h );
+        videoWidget->setSize( w, h );
 }
 
 void MainInterface::videoSizeChanged( int w, int h )



More information about the vlc-commits mailing list