fixing some unused imports

This commit is contained in:
Chris Cochrun 2023-10-01 06:39:52 -05:00
parent ed9693c27b
commit 7bdd8225cb
4 changed files with 48 additions and 8 deletions

View file

@ -1,14 +1,13 @@
#[cxx_qt::bridge]
mod presentation_model {
use crate::models::*;
use crate::presentation_model::presentation_model::Presentation;
use crate::reveal_js;
use crate::schema::presentations::dsl::*;
use diesel::sqlite::SqliteConnection;
use diesel::{delete, insert_into, prelude::*, update};
// use sqlx::Connection;
use std::path::{Path, PathBuf};
use tracing::{debug, debug_span, error, info, instrument};
use std::path::PathBuf;
use tracing::debug;
unsafe extern "C++" {
include!(< QAbstractListModel >);
@ -228,7 +227,7 @@ mod presentation_model {
);
actual_page_count =
reveal_js::count_slides_and_fragments(
actual_path,
&actual_path,
);
}
debug!(