summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/audiowidget.cpp
authorsimon <simon>2002-12-08 20:44:22 (UTC)
committer simon <simon>2002-12-08 20:44:22 (UTC)
commit8824690b4900ebfac866b90cf3e715b62a2acc89 (patch) (unidiff)
tree943b937168bc723402b4f94471dfdcc8db10f5ae /noncore/multimedia/opieplayer2/audiowidget.cpp
parent7c3bd0be34ef70a2297e6f27c592da62f3010da5 (diff)
downloadopie-8824690b4900ebfac866b90cf3e715b62a2acc89.zip
opie-8824690b4900ebfac866b90cf3e715b62a2acc89.tar.gz
opie-8824690b4900ebfac866b90cf3e715b62a2acc89.tar.bz2
- merged duplicated MediaButton definition into common MediaWidget::Button
structure
Diffstat (limited to 'noncore/multimedia/opieplayer2/audiowidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/audiowidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/multimedia/opieplayer2/audiowidget.cpp b/noncore/multimedia/opieplayer2/audiowidget.cpp
index 7bf3a19..879d0b4 100644
--- a/noncore/multimedia/opieplayer2/audiowidget.cpp
+++ b/noncore/multimedia/opieplayer2/audiowidget.cpp
@@ -61,7 +61,7 @@ struct MediaButton {
61}; 61};
62 62
63//Layout information for the audioButtons (and if it is a toggle button or not) 63//Layout information for the audioButtons (and if it is a toggle button or not)
64MediaButton audioButtons[] = { 64MediaWidget::Button audioButtons[] = {
65 { TRUE, FALSE, FALSE }, // play 65 { TRUE, FALSE, FALSE }, // play
66 { FALSE, FALSE, FALSE }, // stop 66 { FALSE, FALSE, FALSE }, // stop
67 { FALSE, FALSE, FALSE }, // next 67 { FALSE, FALSE, FALSE }, // next
@@ -86,7 +86,7 @@ void changeTextColor( QWidget * w) {
86 w->setPalette( p ); 86 w->setPalette( p );
87} 87}
88 88
89const int numButtons = (sizeof(audioButtons)/sizeof(MediaButton)); 89const int numButtons = (sizeof(audioButtons)/sizeof(MediaWidget::Button));
90 90
91} 91}
92 92