More tweaks
commitb09af9b9bc6d0653511291b951166b900cc0c951
authorMichael Terry <michael.terry@canonical.com>
dateWed 31 Aug 2016, 13:45 (10 years ago)
parent0f8ff28
qml/Shell.qml+1−1
@@ -156,7 +156,7 @@ StyledItem {
156156 // our default wallpaper). We use a name=wallpaper argument here to
157157 // make sure we don't litter our cache with lots of scaled images. We
158158 // only need to bother caching one at a time.
159− readonly property url cachedBackground: "image://unity8imagecache/" + background + "?name=wallpaper"
159+ readonly property url cachedBackground: background ? "image://unity8imagecache/" + background + "?name=wallpaper" : ""
160160
161161 GSettings {
162162 id: backgroundSettings
tests/plugins/ImageCache/CMakeLists.txt+1−1
@@ -16,5 +16,5 @@ add_executable(ImageCacheTestExec
1616qt5_use_modules(ImageCacheTestExec Core Quick Test)
1717add_unity8_uitest(ImageCache ImageCacheTestExec
1818 DEPENDS ImageCache-qml
19− IMPORT_PATHS ${UNITY_MOCKPATH}
19+ IMPORT_PATHS ${UNITY_PLUGINPATH}
2020 )