Skip to content

Commit

Permalink
Fixed compilation errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
Frodo45127 committed Jun 24, 2023
1 parent 44d580f commit 4335457
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 12 deletions.
2 changes: 1 addition & 1 deletion rpfm_lib/src/files/rigidmodel/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pub const EXTENSION: &str = ".rigid_model_v2";
//---------------------------------------------------------------------------//

/// This struct contains a RigidModel decoded in memory.
#[derive(Clone, Debug, PartialEq, Eq, Getters, MutGetters, Setters, Serialize, Deserialize)]
#[derive(Clone, Debug, PartialEq, Eq, Default, Getters, MutGetters, Setters, Serialize, Deserialize)]
#[getset(get = "pub", get_mut = "pub", set = "pub")]
pub struct RigidModel {
data: Vec<u8>,
Expand Down
2 changes: 1 addition & 1 deletion rpfm_ui/src/global_search_ui/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ use rayon::prelude::*;

use std::rc::Rc;

use rpfm_extensions::search::{GlobalSearch, MatchHolder, rigid_model::RigidModelMatches, SearchSource, schema::SchemaMatches, table::{TableMatches, TableMatch}, text::{TextMatches, TextMatch}, unknown::{UnknownMatches, UnknownMatch}};
use rpfm_extensions::search::{GlobalSearch, MatchHolder, rigid_model::RigidModelMatches, SearchSource, schema::SchemaMatches, table::{TableMatches, TableMatch}, text::{TextMatches, TextMatch}, unknown::UnknownMatches};
use rpfm_lib::files::FileType;
use rpfm_ui_common::locale::qtr;

Expand Down
2 changes: 0 additions & 2 deletions rpfm_ui/src/network_thread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ Basically, this does the network checks of the program.

use crossbeam::channel::Sender;

use std::path::PathBuf;

use rpfm_lib::integrations::{git::*, log::*};
use rpfm_lib::games::{LUA_REPO, LUA_REMOTE, LUA_BRANCH};
use rpfm_lib::schema::*;
Expand Down
9 changes: 1 addition & 8 deletions rpfm_ui/src/ui/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,8 @@ This module contains the code to manage the main UI and store all his slots.
!*/

use qt_widgets::QApplication;

#[cfg(feature = "only_for_the_brave")]
use qt_widgets::QMessageBox;

#[cfg(feature = "only_for_the_brave")]
use qt_widgets::q_message_box::Icon;

#[cfg(feature = "only_for_the_brave")]
use qt_widgets::q_message_box::StandardButton;

use qt_gui::QFont;
Expand All @@ -44,10 +38,9 @@ use rpfm_lib::games::supported_games::*;
use rpfm_lib::integrations::log::*;

use rpfm_ui_common::ASSETS_PATH;
#[cfg(feature = "only_for_the_brave")] use rpfm_ui_common::locale::qtr;
use rpfm_ui_common::locale::qtr;
use rpfm_ui_common::PROGRAM_PATH;

#[cfg(feature = "only_for_the_brave")]
use crate::VERSION;
use crate::app_ui;
use crate::app_ui::AppUI;
Expand Down

0 comments on commit 4335457

Please sign in to comment.