summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2010-11-28 22:35:09 +0000
committerTim E. Real <termtech@rogers.com>2010-11-28 22:35:09 +0000
commit6ff11b785bf821f815c68982cdd71c4eb16ef766 (patch)
treea2f1bf3ffdef01867a5d1eefd25b779f070eeb92
parentce1f32f0262b222a1e69f46f088b99c91c945ad5 (diff)
Fix deicsonze initial wallpaper. Add paper2.png wallpaper.
-rw-r--r--muse2/share/wallpapers/paper2.jpgbin0 -> 1875 bytes
-rw-r--r--muse2/synti/deicsonze/deicsonzegui.cpp13
2 files changed, 11 insertions, 2 deletions
diff --git a/muse2/share/wallpapers/paper2.jpg b/muse2/share/wallpapers/paper2.jpg
new file mode 100644
index 00000000..a692fc41
--- /dev/null
+++ b/muse2/share/wallpapers/paper2.jpg
Binary files differ
diff --git a/muse2/synti/deicsonze/deicsonzegui.cpp b/muse2/synti/deicsonze/deicsonzegui.cpp
index 26ff64c0..c87ade2a 100644
--- a/muse2/synti/deicsonze/deicsonzegui.cpp
+++ b/muse2/synti/deicsonze/deicsonzegui.cpp
@@ -430,12 +430,21 @@ DeicsOnzeGui::DeicsOnzeGui(DeicsOnze* deicsOnze)
_enabledPreset = true;
setEnabledPreset(false);
+ // Tim.
+ QString sharePath(QString(INSTPREFIX) + QString("/") +
+ QString(SHAREINSTPREFIX) + QString("/") + // This has no prefix. Default is "share", set in top cmake script.
+ QString(INSTALL_NAME));
+
updateInitSetPath
- (INSTPREFIX "/share/muse-" VERSION "/presets/deicsonze/SutulaBank.dei");
+ ///(INSTPREFIX "/share/muse-" VERSION "/presets/deicsonze/SutulaBank.dei");
+ (sharePath + QString("/presets/deicsonze/SutulaBank.dei")); // Tim.
+
//"/usr/local/share/muse-1.0pre1/presets/deicsonze/SutulaBank.dei")
//);
updateBackgroundPixPath
- (INSTPREFIX "/share/muse-" VERSION "/wallpapers/paper2.jpg");
+ ///(INSTPREFIX "/share/muse-" VERSION "/wallpapers/paper2.jpg");
+ (sharePath + QString("/wallpapers/paper2.jpg")); // Tim.
+
updateBackgroundPixCheckBox(true);
applyBackgroundPix();
}