From 6ff11b785bf821f815c68982cdd71c4eb16ef766 Mon Sep 17 00:00:00 2001 From: "Tim E. Real" Date: Sun, 28 Nov 2010 22:35:09 +0000 Subject: Fix deicsonze initial wallpaper. Add paper2.png wallpaper. --- muse2/synti/deicsonze/deicsonzegui.cpp | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'muse2/synti') 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(); } -- cgit v1.2.3