Use bindvalue in DatabaseTableView
This commit is contained in:
@@ -307,6 +307,11 @@ QVector<SkyObject> Database::getObjects(double minRa, double maxRa, double minDe
|
||||
return objects;
|
||||
}
|
||||
|
||||
const QSqlDatabase &Database::db() const
|
||||
{
|
||||
return database;
|
||||
}
|
||||
|
||||
bool Database::indexDir2(const QDir &dir, QProgressDialog *progress, QStringList &scannedDirs)
|
||||
{
|
||||
if(scannedDirs.contains(dir.canonicalPath()))return true;
|
||||
|
||||
Reference in New Issue
Block a user