Fixed the wrongly commited databasemodel.cpp file.