xaizek / pms (License: GPLv3+) (since 2018-12-07)
Older version of Practical Music Search written in C++.
Commit ce932d6d6f4d888bef42b2bd46b9d4e9471264cc

Reset cursor position when clearing a list
Author: Kim Tore Jensen
Author date (UTC): 2015-08-30 10:55
Committer name: Kim Tore Jensen
Committer date (UTC): 2015-08-30 10:55
Parent(s): 54a44bfddf1d45852da0e55a3e2dacde6f64180c
Signing key:
Tree: 0e75d63ac11f952da3f793276ff2257f6de8bfa6
File Lines added Lines deleted
src/list.cpp 1 1
File src/list.cpp changed (mode: 100644) (index 8249240..957af2b)
... ... Songlist::Songlist()
59 59 Songlist::~Songlist() Songlist::~Songlist()
60 60 { {
61 61 this->clear(); this->clear();
62 position = 0;
63 62 } }
64 63
65 64 /* /*
 
... ... void Songlist::clear()
699 698 songs.clear(); songs.clear();
700 699 filtersongs.clear(); filtersongs.clear();
701 700
701 position = 0;
702 702 length = 0; length = 0;
703 703 qlen = 0; qlen = 0;
704 704 qpos = 0; qpos = 0;
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/pms

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/pms

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master