From d17b5dc80d392f75f27a8a816f1ab40bb5114f23 Mon Sep 17 00:00:00 2001 From: ochibani <11yzyv86j@relay.firefox.com> Date: Sat, 7 Dec 2024 12:21:08 +0200 Subject: [PATCH] fix default folder --- src/config_management.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/config_management.rs b/src/config_management.rs index c3b4f67..291515a 100644 --- a/src/config_management.rs +++ b/src/config_management.rs @@ -4,7 +4,6 @@ extern crate ini; use glib::get_user_data_dir; use ini::Ini; -use std::ops::Add; use std::path::{Path, PathBuf}; // Default values @@ -24,8 +23,7 @@ fn default() { set( "default", "folder", - String::from("file://") - .add( + String::from( glib::get_user_special_dir(glib::UserDirectory::Videos) .unwrap_or_else(|| { PathBuf::from(