From cc38fbe9cf3dc1173473f834b8d5dcd9f1a85578 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 4 Jul 2006 16:34:13 +0000 Subject: [PATCH] merge back from bleedingedge svn path=/trunk/KDE/kdebase/workspace/; revision=558070 --- data/update_default_rules.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/update_default_rules.cpp b/data/update_default_rules.cpp index 34ce08205f..6f3b2312ad 100644 --- a/data/update_default_rules.cpp +++ b/data/update_default_rules.cpp @@ -21,7 +21,7 @@ int main( int argc, char* argv[] ) if( argc != 2 ) return 1; KInstance inst( "kwin_update_default_rules" ); - QString file = locate( "data", QString( "kwin/default_rules/" ) + argv[ 1 ] ); + QString file = KStandardDirs::locate( "data", QString( "kwin/default_rules/" ) + argv[ 1 ] ); if( file.isEmpty()) { kWarning() << "File " << argv[ 1 ] << " not found!" << endl;