Remove some unused variables
This commit is contained in:
@@ -89,7 +89,7 @@ int DeviceDatabaseBackend::AddDevice(const Device &device) {
|
||||
int id = q.lastInsertId().toInt();
|
||||
|
||||
// Create the songs tables for the device
|
||||
QString filename(":schema/device-schema.sql");
|
||||
QString filename(":/schema/device-schema.sql");
|
||||
QFile schema_file(filename);
|
||||
if (!schema_file.open(QIODevice::ReadOnly))
|
||||
qFatal("Couldn't open schema file %s", filename.toUtf8().constData());
|
||||
|
||||
Reference in New Issue
Block a user