[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdeextragear-1/k3b/src
From: Laurent Montel <montell () club-internet ! fr>
Date: 2002-12-31 19:02:12
[Download RAW message or body]
CVS commit by mlaurent:
Don't disply menu if there is not entry in listview
M +9 -7 k3baudioplayer.cpp 1.17
--- kdeextragear-1/k3b/src/k3baudioplayer.cpp #1.16:1.17
@@ -626,6 +626,8 @@ void K3bAudioPlayer::slotRemoveSelected(
-void K3bAudioPlayer::slotShowContextMenu( KListView*, QListViewItem* item, const QPoint& p )
+void K3bAudioPlayer::slotShowContextMenu( KListView*lstView, QListViewItem* item, const QPoint& p )
{
+ if( lstView->childCount()==0 )
+ return;
if( item )
m_actionRemove->setEnabled( true );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic