summaryrefslogtreecommitdiff
path: root/src/helpers.h
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2012-10-05 21:25:22 +0200
committerAndrzej Rybczak <electricityispower@gmail.com>2012-10-05 21:25:22 +0200
commit1eb000371416ad1defec39cdcc3a711833a7b7c7 (patch)
treed0af59bab42537b45492eca0a08930af87f25a34 /src/helpers.h
parent044464962c9ccbf9ff017379e67724ce58553b60 (diff)
window: rename Where to Scroll and make it enum class
Diffstat (limited to 'src/helpers.h')
-rw-r--r--src/helpers.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helpers.h b/src/helpers.h
index dafe2e09..1e2c7b5d 100644
--- a/src/helpers.h
+++ b/src/helpers.h
@@ -167,7 +167,7 @@ void moveSelectedItemsUp(NC::Menu<MPD::Song> &m, F swap_fun)
// if we move only one item, do not select it. however, if single item
// was selected prior to move, it'll deselect it. oh well.
list[0]->setSelected(false);
- m.scroll(NC::wUp);
+ m.scroll(NC::Scroll::Up);
}
}
}
@@ -201,7 +201,7 @@ void moveSelectedItemsDown(NC::Menu<MPD::Song> &m, F swap_fun)
// if we move only one item, do not select it. however, if single item
// was selected prior to move, it'll deselect it. oh well.
list[0]->setSelected(false);
- m.scroll(NC::wDown);
+ m.scroll(NC::Scroll::Down);
}
}
}