mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-04 14:02:45 +01:00
yuzu/configure_input: Remove unused function MoveGridElement
This commit is contained in:
parent
d67e88e59c
commit
53bff53791
1 changed files with 0 additions and 7 deletions
|
@ -25,13 +25,6 @@ const std::array<std::string, ConfigureInputPlayer::ANALOG_SUB_BUTTONS_NUM>
|
||||||
"modifier",
|
"modifier",
|
||||||
}};
|
}};
|
||||||
|
|
||||||
static void MoveGridElement(QGridLayout* grid, int row_old, int column_old, int row_new,
|
|
||||||
int column_new) {
|
|
||||||
const auto item = grid->itemAtPosition(row_old, column_old);
|
|
||||||
// grid->removeItem(item);
|
|
||||||
grid->addItem(item, row_new, column_new);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void LayerGridElements(QGridLayout* grid, QWidget* item, QWidget* onTopOf) {
|
static void LayerGridElements(QGridLayout* grid, QWidget* item, QWidget* onTopOf) {
|
||||||
const int index1 = grid->indexOf(item);
|
const int index1 = grid->indexOf(item);
|
||||||
const int index2 = grid->indexOf(onTopOf);
|
const int index2 = grid->indexOf(onTopOf);
|
||||||
|
|
Loading…
Reference in a new issue