Changeset b4e9936 for src/sql


Ignore:
Timestamp:
02/01/10 15:10:57 (12 years ago)
Author:
pavelpa <pavelpa@…>
Branches:
master, qt5
Children:
d7986a6
Parents:
69820d8
Message:

changed permissions for the db

  • TODO: check it on the device
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sql/sqlengine.cpp

    r69820d8 rb4e9936  
    4444        // copy conference Db from resource, instead of creating
    4545        // empty tables and then parsing the schedule
     46        QFile dbFile(aDatabaseName);
    4647        QFile(":/fosdem.sqlite").copy(aDatabaseName);
     48        dbFile.setPermissions(QFile::ReadOwner | QFile::WriteOwner | QFile::ReadGroup | QFile::WriteGroup);
    4749        database.open();
    4850    }
Note: See TracChangeset for help on using the changeset viewer.