File noteedit-2.8.1-compilefixes.patch of Package noteedit
diff -ur noteedit-2.8.1.orig/noteedit/notesel.cpp noteedit-2.8.1/noteedit/notesel.cpp
--- noteedit-2.8.1.orig/noteedit/notesel.cpp 2006-03-26 22:54:52.000000000 +0200
+++ noteedit-2.8.1/noteedit/notesel.cpp 2006-08-15 02:17:03.000000000 +0200
@@ -240,7 +240,7 @@
dists_ = new int[5];
pixms_[0] = *NResource::endBarPixmap_;
dists_[0] = 0;
- pixms_[1] = 0; //dummy for double bar, which is drawn manually in resiz()
+ pixms_[1] = (QPixmap)NULL; //dummy for double bar, which is drawn manually in resiz()
dists_[1] = 0;
pixms_[2] = *NResource::repClosePixmap_;
dists_[2] = 0;
diff -ur noteedit-2.8.1.orig/noteedit/resource.h noteedit-2.8.1/noteedit/resource.h
--- noteedit-2.8.1.orig/noteedit/resource.h 2006-05-13 09:11:13.000000000 +0200
+++ noteedit-2.8.1/noteedit/resource.h 2006-08-15 02:10:26.000000000 +0200
@@ -464,7 +464,6 @@
// Startup
static bool startupLoadLastScore_;
-#ifdef WITH_DIRECT_PRINTING
// PRINTING
@@ -479,7 +478,6 @@
static char previewProgramInvokation_[MAX_PROGRAM_LENGTH];
static char previewOptions_[MAX_OPTIONS_LENGTH];
-#endif
// showStaffNrs_, showStaffNames_, showAuxLines_, showContext_ and showDrumToolbar_ are cached versions
// kapp->config()->readBoolEntry(QString("ShowStaffNrs"), true),