fixing bug in type
This commit is contained in:
parent
5db946ef53
commit
13a592be51
1 changed files with 2 additions and 2 deletions
|
@ -518,7 +518,7 @@ int SongSqlModel::fontSize() const {
|
||||||
return m_fontSize;
|
return m_fontSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SongSqlModel::setFontSize(const QString &fontSize) {
|
void SongSqlModel::setFontSize(const int &fontSize) {
|
||||||
if (fontSize == m_fontSize)
|
if (fontSize == m_fontSize)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@ -529,7 +529,7 @@ void SongSqlModel::setFontSize(const QString &fontSize) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// This function is for updating the lyrics from outside the delegate
|
// This function is for updating the lyrics from outside the delegate
|
||||||
void SongSqlModel::updateFontSize(const int &row, const QString &fontSize) {
|
void SongSqlModel::updateFontSize(const int &row, const int &fontSize) {
|
||||||
qDebug() << "Row is " << row;
|
qDebug() << "Row is " << row;
|
||||||
QSqlRecord rowdata = record(row);
|
QSqlRecord rowdata = record(row);
|
||||||
qDebug() << rowdata;
|
qDebug() << rowdata;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue