author | simon <simon> | 2002-12-09 09:50:33 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-09 09:50:33 (UTC) |
commit | 94a4c102d20eb63104a66fd8fba141a716ae3623 (patch) (unidiff) | |
tree | d54c220fc94d8d7e7b84c7e6ed07bfb13cab5dcc | |
parent | 7ccd9b65ab621dbf8bf79c053141af81fb39ca4b (diff) | |
download | opie-94a4c102d20eb63104a66fd8fba141a716ae3623.zip opie-94a4c102d20eb63104a66fd8fba141a716ae3623.tar.gz opie-94a4c102d20eb63104a66fd8fba141a716ae3623.tar.bz2 |
switch (mouse) {
- case 1:
+ case LeftButton:
break;
- case 2:
+ case RightButton:
-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidget.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp index 889667c..27a3286 100644 --- a/noncore/multimedia/opieplayer2/playlistwidget.cpp +++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp | |||
@@ -209,9 +209,9 @@ void PlayListWidget::clearList() { | |||
209 | 209 | ||
210 | void PlayListWidget::viewPressed( int mouse, QListViewItem *, const QPoint& , int) { | 210 | void PlayListWidget::viewPressed( int mouse, QListViewItem *, const QPoint& , int) { |
211 | switch (mouse) { | 211 | switch (mouse) { |
212 | case 1: | 212 | case LeftButton: |
213 | break; | 213 | break; |
214 | case 2: | 214 | case RightButton: |
215 | { | 215 | { |
216 | QPopupMenu m; | 216 | QPopupMenu m; |
217 | m.insertItem( tr( "Play Selected" ), this, SLOT( playSelected() )); | 217 | m.insertItem( tr( "Play Selected" ), this, SLOT( playSelected() )); |
@@ -225,9 +225,9 @@ void PlayListWidget::viewPressed( int mouse, QListViewItem *, const QPoint& , in | |||
225 | 225 | ||
226 | void PlayListWidget::playlistViewPressed( int mouse, QListViewItem *, const QPoint& , int ) { | 226 | void PlayListWidget::playlistViewPressed( int mouse, QListViewItem *, const QPoint& , int ) { |
227 | switch (mouse) { | 227 | switch (mouse) { |
228 | case 1: | 228 | case LeftButton: |
229 | break; | 229 | break; |
230 | case 2: | 230 | case RightButton: |
231 | { | 231 | { |
232 | QPopupMenu m; | 232 | QPopupMenu m; |
233 | m.insertItem( tr( "Play" ), this, SLOT( playSelected() )); | 233 | m.insertItem( tr( "Play" ), this, SLOT( playSelected() )); |