diff options
author | Andrzej Rybczak <electricityispower@gmail.com> | 2012-10-05 21:25:22 +0200 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2012-10-05 21:25:22 +0200 |
commit | 1eb000371416ad1defec39cdcc3a711833a7b7c7 (patch) | |
tree | d0af59bab42537b45492eca0a08930af87f25a34 /src/sort_playlist.cpp | |
parent | 044464962c9ccbf9ff017379e67724ce58553b60 (diff) |
window: rename Where to Scroll and make it enum class
Diffstat (limited to 'src/sort_playlist.cpp')
-rw-r--r-- | src/sort_playlist.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sort_playlist.cpp b/src/sort_playlist.cpp index 0e555921..d0981343 100644 --- a/src/sort_playlist.cpp +++ b/src/sort_playlist.cpp @@ -133,7 +133,7 @@ void SortPlaylistDialog::moveSortOrderDown() if ((cur+1)->item().second) { std::iter_swap(cur, cur+1); - w.scroll(NC::wDown); + w.scroll(NC::Scroll::Down); } } @@ -143,7 +143,7 @@ void SortPlaylistDialog::moveSortOrderUp() if (cur > w.beginV() && cur->item().second) { std::iter_swap(cur, cur-1); - w.scroll(NC::wUp); + w.scroll(NC::Scroll::Up); } } |