Skip to content

LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust

refactor(lightcraft): import prefs and GPU crash names explicitly

Dylan M. Taylorf6489e60d8a4
diff --git a/apps/lightcraft/src/gpu_crash.rs b/apps/lightcraft/src/gpu_crash.rs
index 1656d88e3..3b7422315 100644
--- a/apps/lightcraft/src/gpu_crash.rs
+++ b/apps/lightcraft/src/gpu_crash.rs
@@ -1,5 +1,5 @@
use super::prefs::config_dir;
-use super::*;
+use super::window_gpu;
/// The window's renderer (egui-wgpu): eframe's defaults, with LightCraft's backend choice — DX12
/// alone on Windows unless `LIGHTCRAFT_GPU_BACKEND` / `WGPU_BACKEND` say otherwise (issue #136:
diff --git a/apps/lightcraft/src/prefs.rs b/apps/lightcraft/src/prefs.rs
index 0800e6f3e..5701bf161 100644
--- a/apps/lightcraft/src/prefs.rs
+++ b/apps/lightcraft/src/prefs.rs
@@ -1,4 +1,4 @@
-use super::*;
+use super::{LibraryProblem, LightcraftApp, UiState};
/// Where the system keeps monitor profiles, for the Choose Profile dialog to start in: the user's
/// own profiles first (Linux: colord / DisplayCAL; macOS: ColorSync), then the system's.