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

List:       kde-commits
Subject:    branches/KDE/3.5/kdebase/kxkb
From:       Andy Rysin <arysin () yahoo ! com>
Date:       2006-08-26 0:40:03
Message-ID: 1156552803.839779.21281.nullmailer () svn ! kde ! org
[Download RAW message or body]

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