on xenial help sign in
More tweaks
b09af9bMichael Terry
qml/Shell.qml+1−1
@@ -156,7 +156,7 @@ StyledItem {
156 // our default wallpaper). We use a name=wallpaper argument here to
156 // our default wallpaper). We use a name=wallpaper argument here to
157 // make sure we don't litter our cache with lots of scaled images. We
157 // make sure we don't litter our cache with lots of scaled images. We
158 // only need to bother caching one at a time.
158 // 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" : ""
160
160
161 GSettings {
161 GSettings {
162 id: backgroundSettings
162 id: backgroundSettings
tests/plugins/ImageCache/CMakeLists.txt+1−1
@@ -16,5 +16,5 @@ add_executable(ImageCacheTestExec
16qt5_use_modules(ImageCacheTestExec Core Quick Test)
16qt5_use_modules(ImageCacheTestExec Core Quick Test)
17add_unity8_uitest(ImageCache ImageCacheTestExec
17add_unity8_uitest(ImageCache ImageCacheTestExec
18 DEPENDS ImageCache-qml
18 DEPENDS ImageCache-qml
19− IMPORT_PATHS ${UNITY_MOCKPATH}
19+ IMPORT_PATHS ${UNITY_PLUGINPATH}
20 )
20 )