summaryrefslogtreecommitdiff
path: root/packages/sidplayer/sidplayer-1.5.0/gcc3.patch
blob: b94e26a18ad911c4cb354f3d0943646507d8f855 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69

#
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#

--- sidplayer/sidplayer.cpp~gcc3	2003-09-26 20:28:51.000000000 +0200
+++ sidplayer/sidplayer.cpp	2004-02-12 19:24:33.000000000 +0100
@@ -83,8 +83,8 @@
 //============================================================================================
 
 Sidplayer::Sidplayer( int argc, char **argv, QPEApplication *app,
-                      QWidget *parent, const char *name, WFlags f )
-    : TabbedDialog( parent, name, f ),
+                      QWidget *parent, const char *name, WFlags flags )
+    : TabbedDialog( parent, name, flags ),
       application( app ),
       selectedSong( 1 ),
       totalSongs( 1 ),
@@ -710,7 +710,7 @@
 
 //--------------------------------------------------------------------------------------------
 
-void Sidplayer::updateListeningMileageLabel( bool forceUpdate = false )
+void Sidplayer::updateListeningMileageLabel( bool forceUpdate )
 {
     static int oldSecondsTotal = 0;
     int secondsTotal = myEmuEngine.getSecondsTotal();
--- sidplayer/sidplayer_file.cpp~gcc3	2003-09-25 21:56:57.000000000 +0200
+++ sidplayer/sidplayer_file.cpp	2004-02-12 19:24:33.000000000 +0100
@@ -249,7 +249,7 @@
     }
 }
 
-void Sidplayer::populateFileView( const QString &directory, const QString &selectThis = "" )
+void Sidplayer::populateFileView( const QString &directory, const QString &selectThis )
 {
     QDir dir( directory );
 
--- sidplayer/sidplayer_list.cpp~gcc3	2003-07-09 21:49:28.000000000 +0200
+++ sidplayer/sidplayer_list.cpp	2004-02-12 19:24:33.000000000 +0100
@@ -172,7 +172,7 @@
     setAllPlaylistViewItemsOddFlag();
 }
 
-void Sidplayer::insertDir_( QString dirpath = "" )
+void Sidplayer::insertDir_( QString dirpath )
 {
     if ( dirpath == "" )
         dirpath = currentDir;
@@ -225,7 +225,7 @@
     setAllPlaylistViewItemsOddFlag();
 }
 
-void Sidplayer::insertDirRecursive_( QString dirpath = "" )
+void Sidplayer::insertDirRecursive_( QString dirpath )
 {
     if ( dirpath == "" )
         dirpath = currentDir;
--- sidplayer/volumebarwidget.cpp~gcc3	2003-07-09 22:35:48.000000000 +0200
+++ sidplayer/volumebarwidget.cpp	2004-02-12 19:28:54.000000000 +0100
@@ -18,7 +18,7 @@
 
 #include <iostream>
 
-VolumeBarWidget::VolumeBarWidget( QWidget *parent = 0, const char *name = 0, WFlags f = 0 )
+VolumeBarWidget::VolumeBarWidget( QWidget *parent, const char *name, WFlags f )
     : QWidget( parent, name, f )
 {
     getVolume();