[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/kcontrol/input
From: Laurent Montel <montel () kde ! org>
Date: 2005-09-14 14:38:45
Message-ID: 1126708725.562670.6498.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 460625 by mlaurent:
Use DCOPCString here
M +4 -4 main.cpp
--- trunk/KDE/kdebase/workspace/kcontrol/input/main.cpp #460624:460625
@@ -55,8 +55,8 @@
#ifdef HAVE_XCURSOR
config->setGroup("Mouse");
- QByteArray theme = QFile::encodeName(config->readEntry("cursorTheme", QString()));
- QByteArray size = config->readEntry("cursorSize", QString()).local8Bit();
+ DCOPCString theme = QFile::encodeName(config->readEntry("cursorTheme", QString()));
+ DCOPCString size = config->readEntry("cursorSize", QString()).local8Bit();
// Note: If you update this code, update kapplymousetheme as well.
@@ -84,9 +84,9 @@
// variables when launching applications.
DCOPRef klauncher("klauncher");
if( !theme.isEmpty())
- klauncher.send("setLaunchEnv", QByteArray("XCURSOR_THEME"), theme);
+ klauncher.send("setLaunchEnv", DCOPCString("XCURSOR_THEME"), theme);
if( !size.isEmpty())
- klauncher.send("setLaunchEnv", QByteArray("XCURSOR_SIZE"), size);
+ klauncher.send("setLaunchEnv", DCOPCString("XCURSOR_SIZE"), size);
#endif
delete config;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic