merge back from bleedingedge
svn path=/trunk/KDE/kdebase/workspace/; revision=558070
This commit is contained in:
parent
cd6b416cfd
commit
cc38fbe9cf
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue