aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/history/history.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2021-01-16 13:59:21 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2021-01-16 13:59:21 +0000
commitc20f469b2021f070cbf5cf5a73ce430ddcd2fbd0 (patch)
tree1fa9e2ed113f69c1bf9d0e41bbaf36b510e453bd /src/plugins/General/history/history.cpp
parentda6b743dd621668de3f7679ed3356a38bd47d7ef (diff)
downloadqmmp-c20f469b2021f070cbf5cf5a73ce430ddcd2fbd0.tar.gz
qmmp-c20f469b2021f070cbf5cf5a73ce430ddcd2fbd0.tar.bz2
qmmp-c20f469b2021f070cbf5cf5a73ce430ddcd2fbd0.zip
history: fixed column name
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9634 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/history/history.cpp')
-rw-r--r--src/plugins/General/history/history.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/General/history/history.cpp b/src/plugins/General/history/history.cpp
index 236e9f7bc..15c841c1d 100644
--- a/src/plugins/General/history/history.cpp
+++ b/src/plugins/General/history/history.cpp
@@ -120,7 +120,7 @@ bool History::createTables()
bool ok = query.exec("CREATE TABLE IF NOT EXISTS track_history(ID INTEGER PRIMARY KEY AUTOINCREMENT,"
"Timestamp TIMESTAMP NOT NULL,"
"Title TEXT, Artist TEXT, AlbumArtist TEXT, Album TEXT, Comment TEXT, Genre TEXT, Composer TEXT,"
- "Year INTEGER, Track INTEGER, DiscNumer INTEGER, Duration INTEGER, URL BLOB)");
+ "Year INTEGER, Track INTEGER, DiscNumber INTEGER, Duration INTEGER, URL BLOB)");
if(!ok)
qWarning("History: unable to create table, error: %s", qPrintable(query.lastError().text()));