[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 132421] kxkb multiuserproblem with files in /tmp
From:       Andriy Rysin <arysin () yahoo ! com>
Date:       2006-08-26 0:40:09
Message-ID: 20060826004009.30667.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=132421         
arysin yahoo com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From arysin yahoo com  2006-08-26 02:40 -------
SVN commit 577258 by rysin:

BUG: 132421
Use locateLocal() to find tmp directory



 M  +3 -2      extension.cpp  


--- branches/KDE/3.5/kdebase/kxkb/extension.cpp #577257:577258
 @ -40,8 +40,9  @
 		d = qt_xdisplay();
 	m_dpy = d;
 	
-	QStringList dirs = KGlobal::dirs()->findDirs ( "tmp", "" );
-	m_tempDir = dirs.count() == 0 ? "/tmp/" : dirs[0];
+//	QStringList dirs = KGlobal::dirs()->findDirs ( "tmp", "" );
+//	m_tempDir = dirs.count() == 0 ? "/tmp/" : dirs[0];
+	m_tempDir = locateLocal("tmp", "");
 }
 
 bool XKBExtension::init()
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic