default icon "x" if there is no icon

svn path=/trunk/kdebase/kwin/; revision=61836
This commit is contained in:
Matthias Ettrich 2000-08-24 12:44:18 +00:00
parent 56f99f2aa8
commit f1e0ec82cb

View file

@ -20,6 +20,7 @@ Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org>
#include <qtimer.h>
#include <kwin.h>
#include <netwm.h>
#include <kiconloader.h>
#include "workspace.h"
#include "client.h"
#include "events.h"
@ -2530,6 +2531,8 @@ NoBorderClient::~NoBorderClient()
QPixmap * kwin_get_menu_pix_hack()
{
static QPixmap p;
if ( p.isNull() )
p = SmallIcon( "bx2" );
return &p;
}