mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-16 03:09:57 +01:00
Pedantry
This commit is contained in:
parent
1339ee860d
commit
ad4229160e
@ -364,7 +364,7 @@ QSqlDatabase Database::Connect() {
|
||||
QSqlQuery set_fts_tokenizer("SELECT fts3_tokenizer(:name, :pointer)", db);
|
||||
set_fts_tokenizer.bindValue(":name", "unicode");
|
||||
set_fts_tokenizer.bindValue(":pointer", QByteArray(
|
||||
reinterpret_cast<const char*>(&sFTSTokenizer), sizeof(sFTSTokenizer)));
|
||||
reinterpret_cast<const char*>(&sFTSTokenizer), sizeof(&sFTSTokenizer)));
|
||||
if (!set_fts_tokenizer.exec()) {
|
||||
qWarning() << "Couldn't register FTS3 tokenizer";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user