remove some unneccessary stuff
This commit is contained in:
parent
3b87f862ea
commit
922f1b3456
3 changed files with 23 additions and 26 deletions
|
|
@ -18,10 +18,10 @@ mod video_model {
|
|||
type QModelIndex = cxx_qt_lib::QModelIndex;
|
||||
include!("cxx-qt-lib/qvector.h");
|
||||
type QVector_i32 = cxx_qt_lib::QVector<i32>;
|
||||
include!("cxx-qt-lib/qstringlist.h");
|
||||
type QStringList = cxx_qt_lib::QStringList;
|
||||
include!("cxx-qt-lib/qlist.h");
|
||||
type QList_QString = cxx_qt_lib::QList<QString>;
|
||||
// include!("cxx-qt-lib/qstringlist.h");
|
||||
// type QStringList = cxx_qt_lib::QStringList;
|
||||
// include!("cxx-qt-lib/qlist.h");
|
||||
// type QList_QString = cxx_qt_lib::QList<QString>;
|
||||
}
|
||||
|
||||
#[qenum(VideoModel)]
|
||||
|
|
@ -182,7 +182,6 @@ use crate::models::run_migrations;
|
|||
use crate::schema::videos::dsl::*;
|
||||
use cxx_qt::CxxQtType;
|
||||
use cxx_qt_lib::{QByteArray, QModelIndex, QString, QUrl, QVariant};
|
||||
use diesel::migration::MigrationConnection;
|
||||
use diesel::sqlite::SqliteConnection;
|
||||
use diesel::{delete, insert_into, prelude::*, update};
|
||||
use std::path::PathBuf;
|
||||
|
|
@ -495,7 +494,7 @@ impl video_model::VideoModel {
|
|||
model_index,
|
||||
&vector_roles,
|
||||
);
|
||||
println!("rust-end-time: {:?}", updated_end_time);
|
||||
println!("rust-end-time: {updated_end_time:?}");
|
||||
true
|
||||
}
|
||||
Err(_e) => false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue