guard warning
svn path=/trunk/KDE/kdebase/workspace/; revision=843388
This commit is contained in:
parent
39fd589c4d
commit
1c11825eea
2 changed files with 4 additions and 0 deletions
2
main.cpp
2
main.cpp
|
@ -249,7 +249,9 @@ Application::Application( )
|
|||
KSharedConfig::Ptr config = KGlobal::config();
|
||||
if (!config->isImmutable() && args->isSet("lock"))
|
||||
{
|
||||
#ifdef __GNUC__
|
||||
#warning this shouldn not be necessary
|
||||
#endif
|
||||
//config->setReadOnly(true);
|
||||
config->reparseConfiguration();
|
||||
}
|
||||
|
|
|
@ -149,7 +149,9 @@ NET::WindowType Toplevel::windowType( bool direct, int supported_types ) const
|
|||
if( direct )
|
||||
return wt;
|
||||
const Client* cl = dynamic_cast< const Client* >( this );
|
||||
#ifdef __GNUC__
|
||||
#warning TODO
|
||||
#endif
|
||||
// NET::WindowType wt2 = rules()->checkType( wt );
|
||||
NET::WindowType wt2 = wt;
|
||||
if( wt != wt2 )
|
||||
|
|
Loading…
Reference in a new issue