summaryrefslogtreecommitdiffstats
path: root/indexerwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indexerwidget.cpp')
-rw-r--r--indexerwidget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indexerwidget.cpp b/indexerwidget.cpp
index da9c32f..af79ed2 100644
--- a/indexerwidget.cpp
+++ b/indexerwidget.cpp
@@ -154,8 +154,8 @@ void BeetReader::run(){
QString title = toQString(file.tag()->title());
QString genre = toQString(file.tag()->genre());
int length = file.audioProperties()->lengthInSeconds();
- quint16 track = file.tag()->track();
- quint16 year = file.tag()->year();
+ uint track = file.tag()->track();
+ uint year = file.tag()->year();
QString parentDir = QFileInfo(QString(s)).absolutePath();
QFileInfo albumDir(parentDir);
QDateTime dateAdded = albumDir.lastModified();
@@ -244,7 +244,7 @@ int BeetReader::doGenre(QString name){
return retval;
}
-int BeetReader::doAlbum(QString name, int year, QDateTime created){
+int BeetReader::doAlbum(QString name, uint year, QDateTime created){
QString key = name;
if(mAlbumH.contains(key)){
return mAlbumH.value(key);
@@ -264,7 +264,7 @@ int BeetReader::doAlbum(QString name, int year, QDateTime created){
return retval;
}
-void BeetReader::doSong(QString title, int pos, int album, int genre, int artist, QString fullpath, int length){
+void BeetReader::doSong(QString title, uint pos, int album, int genre, int artist, QString fullpath, int length){
mDb.transaction();
mInsertSongQ->bindValue(":title", title);
mInsertSongQ->bindValue(":pos", pos);