diff --git a/sources/TerminalStrip/terminalstrip.cpp b/sources/TerminalStrip/terminalstrip.cpp index 2222a50fb..81ffef105 100644 --- a/sources/TerminalStrip/terminalstrip.cpp +++ b/sources/TerminalStrip/terminalstrip.cpp @@ -639,7 +639,7 @@ bool TerminalStrip::isBridgeable(const QVector> &re // Get the physical terminal and pos auto first_physical_terminal = first_real_terminal->physicalTerminal(); QVector physical_vector{first_physical_terminal}; - QVector pos_vector{m_physical_terminals.indexOf(first_physical_terminal)}; + QVector pos_vector{m_physical_terminals.indexOf(first_physical_terminal)}; auto bridge_ = isBridged(first_real_terminal); //bool to know at the end of this function if at least one terminal is not bridged diff --git a/sources/editor/elementscene.cpp b/sources/editor/elementscene.cpp index a9a64b65b..2b556e6f5 100644 --- a/sources/editor/elementscene.cpp +++ b/sources/editor/elementscene.cpp @@ -746,7 +746,7 @@ void ElementScene::addItems(QVector items) */ void ElementScene::removeItems(QVector items) { - const int previous_selected_count{selectedItems().size()}; + const qsizetype previous_selected_count{selectedItems().size()}; //block signal to avoid multiple emit of selection changed, //we emit this signal only once at the end of this function.