tsdevicedialog/tsdevicedialogplugin/src/tsdevicedialogcontainer.cpp
changeset 102 8b8b34fa9751
parent 99 7aaf39b772ac
child 107 b34d53f6acdf
--- a/tsdevicedialog/tsdevicedialogplugin/src/tsdevicedialogcontainer.cpp	Tue Jun 29 10:20:30 2010 +0300
+++ b/tsdevicedialog/tsdevicedialogplugin/src/tsdevicedialogcontainer.cpp	Fri Jul 09 14:19:08 2010 +0300
@@ -62,7 +62,7 @@
     connect(dialog, SIGNAL(aboutToClose()), this, SIGNAL(deviceDialogClosed()));
     
     connect(this, SIGNAL(deviceDialogClosed()), this, SLOT(notifyDialogClosed()));    
-    mVisibilityPublisher.setValue(TsProperty::KVisibilityPath, true);
+    mVisibilityPublisher.setValue(TsProperty::KVisibilityPath, static_cast<int>(true));
     mVisibilityPublisher.sync();
 }
 
@@ -114,6 +114,6 @@
 
 void TsDeviceDialogContainer::notifyDialogClosed()
 {
-    mVisibilityPublisher.setValue(TsProperty::KVisibilityPath, false);
+    mVisibilityPublisher.setValue(TsProperty::KVisibilityPath, static_cast<int>(false));
     mVisibilityPublisher.sync();
 }