src/hbservers/hbthemeserver/hbthemewatcher_symbian.cpp
changeset 6 c3690ec91ef8
parent 3 11d3954df52a
child 7 923ff622b8b9
--- a/src/hbservers/hbthemeserver/hbthemewatcher_symbian.cpp	Fri Jun 11 13:58:22 2010 +0300
+++ b/src/hbservers/hbthemeserver/hbthemewatcher_symbian.cpp	Wed Jun 23 18:33:25 2010 +0300
@@ -81,10 +81,7 @@
         return;
     }
     
-    QFile file(iFile);
-    if (file.open(QIODevice::ReadOnly)) {
-        file.close();
-
+    if (QFile::exists(iFile)) {
         // theme exists continue watching
         TBuf<256> fileToWatch(iFile.utf16());
         iFs.NotifyChange(ENotifyAll, iStatus, fileToWatch);