[PATCH] Add screen number properly.

David Reveman davidr at novell.com
Sun Aug 12 16:59:12 PDT 2007


---
 settings-backend/kconfig_backend.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/settings-backend/kconfig_backend.cpp b/settings-backend/kconfig_backend.cpp
index 0e0b272..cab0caf 100644
--- a/settings-backend/kconfig_backend.cpp
+++ b/settings-backend/kconfig_backend.cpp
@@ -482,7 +482,7 @@ readSetting (CCSContext *c,
     if (setting->isScreen)
     {
 	group += "_Screen";
-	group += setting->screenNum;
+	group += QString::number (setting->screenNum);
     }
 
     cfg->setGroup (group);
@@ -992,7 +992,7 @@ writeSetting (CCSContext *c,
     if (setting->isScreen)
     {
 	group += "_Screen";
-	group += setting->screenNum;
+	group += QString::number (setting->screenNum);
     }
 
     cfg->setGroup (group);
-- 
1.5.2.4


--=-JKJEo0QaMHFoQml1BvGW
Content-Disposition: attachment; filename=0003-_Screen-_screen.patch
Content-Type: application/mbox; name=0003-_Screen-_screen.patch
Content-Transfer-Encoding: 7bit



More information about the compiz mailing list