--- a/src/settingseditor/keyboardshortcutseditor.cpp Wed Jun 22 23:51:06 2022 +0300 +++ b/src/settingseditor/keyboardshortcutseditor.cpp Sun Jun 26 19:44:45 2022 +0300 @@ -10,7 +10,7 @@ int KeyboardShortcutsEditor::rowCount(const QModelIndex&) const { - return this->actions.size(); + return static_cast<int>(this->actions.size()); } int KeyboardShortcutsEditor::columnCount(const QModelIndex&) const @@ -22,7 +22,7 @@ const QModelIndex& index, int role) const { - QAction* const action = this->actions[index.row()]; + QAction* const action = this->actions[static_cast<std::size_t>(index.row())]; const Column column = static_cast<Column>(index.column()); switch(role) {