src/hbservers/hbthemeserver/hbthemewatcher_symbian.cpp
changeset 6 c3690ec91ef8
parent 3 11d3954df52a
child 7 923ff622b8b9
equal deleted inserted replaced
5:627c4a0fd0e7 6:c3690ec91ef8
    79 {
    79 {
    80     if (iStatus != KErrNone) {
    80     if (iStatus != KErrNone) {
    81         return;
    81         return;
    82     }
    82     }
    83     
    83     
    84     QFile file(iFile);
    84     if (QFile::exists(iFile)) {
    85     if (file.open(QIODevice::ReadOnly)) {
       
    86         file.close();
       
    87 
       
    88         // theme exists continue watching
    85         // theme exists continue watching
    89         TBuf<256> fileToWatch(iFile.utf16());
    86         TBuf<256> fileToWatch(iFile.utf16());
    90         iFs.NotifyChange(ENotifyAll, iStatus, fileToWatch);
    87         iFs.NotifyChange(ENotifyAll, iStatus, fileToWatch);
    91         SetActive();
    88         SetActive();
    92         return;
    89         return;