Access the static method directly (not that it wouldn't work via NULL pointer).

svn path=/trunk/kdebase/kwin/; revision=291219
This commit is contained in:
Luboš Luňák 2004-02-25 10:00:37 +00:00
parent d2e94b988e
commit b3547b4059

View file

@ -45,7 +45,7 @@ static const KCmdLineOptions options[] =
int main( int argc, char* argv[] )
{
KGlobal::locale()->setMainCatalogue( "kwin" ); // the messages are in kwin's .po file
KLocale::setMainCatalogue( "kwin" ); // the messages are in kwin's .po file
KCmdLineArgs::init( argc, argv, "kwin_killer_helper", I18N_NOOP( "KWin" ),
I18N_NOOP( "KWin helper utility" ), "1.0" );
KCmdLineArgs::addCmdLineOptions( options );