use KGlobal::menuFont()

svn path=/trunk/kdebase/kwin/; revision=43693
This commit is contained in:
Kurt Granroth 2000-03-16 19:37:37 +00:00
parent bad0fc821a
commit 2b0fb2434f

View file

@ -915,13 +915,16 @@ QPopupMenu* Workspace::clientPopup( Client* c )
if ( !popup ) { if ( !popup ) {
popup = new QPopupMenu; popup = new QPopupMenu;
popup->setCheckable( TRUE ); popup->setCheckable( TRUE );
popup->setFont(KGlobal::menuFont());
connect( popup, SIGNAL( aboutToShow() ), this, SLOT( clientPopupAboutToShow() ) ); connect( popup, SIGNAL( aboutToShow() ), this, SLOT( clientPopupAboutToShow() ) );
connect( popup, SIGNAL( activated(int) ), this, SLOT( clientPopupActivated(int) ) ); connect( popup, SIGNAL( activated(int) ), this, SLOT( clientPopupActivated(int) ) );
PluginMenu *deco = new PluginMenu(&mgr, popup); PluginMenu *deco = new PluginMenu(&mgr, popup);
deco->setFont(KGlobal::menuFont());
desk_popup = new QPopupMenu( popup ); desk_popup = new QPopupMenu( popup );
desk_popup->setCheckable( TRUE ); desk_popup->setCheckable( TRUE );
desk_popup->setFont(KGlobal::menuFont());
connect( desk_popup, SIGNAL( activated(int) ), this, SLOT( sendToDesktop(int) ) ); connect( desk_popup, SIGNAL( activated(int) ), this, SLOT( sendToDesktop(int) ) );
connect( desk_popup, SIGNAL( aboutToShow() ), this, SLOT( desktopPopupAboutToShow() ) ); connect( desk_popup, SIGNAL( aboutToShow() ), this, SLOT( desktopPopupAboutToShow() ) );