diff --git a/psst-gui/src/controller/playback.rs b/psst-gui/src/controller/playback.rs index dec69a85..78d32e91 100644 --- a/psst-gui/src/controller/playback.rs +++ b/psst-gui/src/controller/playback.rs @@ -128,7 +128,7 @@ impl PlaybackController { let hwnd = { #[cfg(target_os = "windows")] { - use druid_shell::raw_window_handle::RawWindowHandle; + use druid_shell::raw_window_handle::HasRawWindowHandle; match window.raw_window_handle() { RawWindowHandle::Win32(handle) => Some(handle.hwnd as *mut std::ffi::c_void), _ => None,