~stolowski/unity-scope-click/use-local-departments

« back to all changes in this revision

Viewing changes to libclickscope/click/departments-db.cpp

  • Committer: Pawel Stolowski
  • Date: 2014-07-03 13:57:14 UTC
  • mfrom: (314.1.2 populate-departments-db)
  • Revision ID: pawel.stolowski@canonical.com-20140703135714-syecg0diz6lujdvm
Merged populate-departments-db branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
    select_dept_name_->prepare("SELECT name FROM deptnames WHERE deptid=:deptid AND locale=:locale");
77
77
}
78
78
 
 
79
DepartmentsDb::~DepartmentsDb()
 
80
{
 
81
}
 
82
 
79
83
void DepartmentsDb::init_db(const std::string& name)
80
84
{
81
85
    db_ = QSqlDatabase::addDatabase("QSQLITE");