Can now remove multiple samples at once from folders and other minor fixes.

This commit is contained in:
apoorv569
2021-06-03 07:56:17 +05:30
parent 46e6317335
commit 5d935b6ed4
3 changed files with 46 additions and 42 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ void Database::InsertSamples(std::vector<Sample> samples)
type = sample.GetType();
path = sample.GetPath();
std::string folder;
std::string folder = "Favourites";
rc = sqlite3_bind_int(m_Stmt, 1, sample.GetFavorite());
rc = sqlite3_bind_text(m_Stmt, 2, filename.c_str(), filename.size(), SQLITE_STATIC);