mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Fixed few warnings
This commit is contained in:
parent
3e855d36dc
commit
32a353058f
11 changed files with 44 additions and 58 deletions
|
@ -962,7 +962,7 @@ void PresetCollection::load_bitmap_add(const std::string &file_name)
|
|||
|
||||
const Preset* PresetCollection::get_selected_preset_parent() const
|
||||
{
|
||||
if (this->get_selected_idx() == -1)
|
||||
if (this->get_selected_idx() == size_t(-1))
|
||||
// This preset collection has no preset activated yet. Only the get_edited_preset() is valid.
|
||||
return nullptr;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue