mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
generic: adjust to recent X11 changes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
c6fca17924
commit
d0b78212f1
2 changed files with 2 additions and 2 deletions
|
@ -361,7 +361,7 @@ void KRandRSystemTray::populateMenu(KMenu* menu)
|
|||
if (screen->activeCount() != 1)
|
||||
{
|
||||
action = outputMenu->addAction(i18n("Disable"));
|
||||
if (output->crtc() == None)
|
||||
if (!output->crtc())
|
||||
{
|
||||
QFont font = action->font();
|
||||
font.setBold(true);
|
||||
|
|
|
@ -1090,7 +1090,7 @@ namespace Oxygen
|
|||
&data);
|
||||
|
||||
// finish if no data is found
|
||||
if( data == None || n != 1 ) return false;
|
||||
if( data == NULL || n != 1 ) return false;
|
||||
else return *data;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue