]> git.sesse.net Git - vlc/commitdiff
Qt: better function name
authorJakob Leben <jleben@videolan.org>
Mon, 25 Jan 2010 13:47:00 +0000 (14:47 +0100)
committerJakob Leben <jleben@videolan.org>
Mon, 25 Jan 2010 13:48:21 +0000 (14:48 +0100)
modules/gui/qt4/components/playlist/standardpanel.cpp
modules/gui/qt4/components/playlist/standardpanel.hpp

index d406a22c035aaf65db91fefe6fd72cb4a294818d..60a992f949cc4db0e97ca34409257bf6af3bc040 100644 (file)
@@ -107,7 +107,7 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent,
     CONNECT( treeView->header(), customContextMenuRequested( const QPoint & ),
              this, popupSelectColumn( QPoint ) );
     CONNECT( treeView, customContextMenuRequested( const QPoint & ),
-             this, playlistPopup( const QPoint & ) );
+             this, popupPlView( const QPoint & ) );
     CONNECT( model, currentChanged( const QModelIndex& ),
              this, handleExpansion( const QModelIndex& ) );
 
@@ -213,7 +213,7 @@ void StandardPLPanel::popupSelectColumn( QPoint pos )
     menu.exec( QCursor::pos() );
 }
 
-void StandardPLPanel::playlistPopup( const QPoint &point )
+void StandardPLPanel::popupPlView( const QPoint &point )
 {
     QAbstractItemView *aView;
     if ( treeView->isVisible() ) aView = treeView;
@@ -312,7 +312,7 @@ void StandardPLPanel::toggleView()
             layout->addWidget( iconView, 1, 0, 1, -1 );
             iconView->setContextMenuPolicy( Qt::CustomContextMenu );
             CONNECT( iconView, customContextMenuRequested( const QPoint & ),
-                     this, playlistPopup( const QPoint & ) );
+                     this, popupPlView( const QPoint & ) );
         }
         treeView->hide();
         iconView->show();
index ee273e3f5c46624c882c251e12fba0781fb9cf76..026b1a5cfc65d5b87421bdc28b1695bb9a821254 100644 (file)
@@ -85,9 +85,9 @@ private slots:
     void search( const QString& searchText );
     void popupAdd();
     void popupSelectColumn( QPoint );
+    void popupPlView( const QPoint & );
     void toggleColumnShown( int );
     void toggleView();
-    void playlistPopup( const QPoint & );
 };
 
 #endif