BUGS:99718

opacity popup now not closing on slider releases

svn path=/trunk/kdebase/kwin/; revision=390732
This commit is contained in:
Thomas Lübking 2005-02-18 23:11:39 +00:00
parent 7e26397f67
commit 988c0933c7

View file

@ -84,7 +84,7 @@ QPopupMenu* Workspace::clientPopup()
connect(transButton, SIGNAL(clicked()), trans_popup, SLOT(hide())); connect(transButton, SIGNAL(clicked()), trans_popup, SLOT(hide()));
connect(transSlider, SIGNAL(valueChanged(int)), SLOT(setTransButtonText(int))); connect(transSlider, SIGNAL(valueChanged(int)), SLOT(setTransButtonText(int)));
connect(transSlider, SIGNAL(sliderMoved(int)), this, SLOT(setPopupClientOpacity(int))); connect(transSlider, SIGNAL(sliderMoved(int)), this, SLOT(setPopupClientOpacity(int)));
connect(transSlider, SIGNAL(sliderReleased()), trans_popup, SLOT(hide())); // connect(transSlider, SIGNAL(sliderReleased()), trans_popup, SLOT(hide()));
trans_popup->insertItem(transBox); trans_popup->insertItem(transBox);
popup->insertItem(i18n("&Opacity"), trans_popup ); popup->insertItem(i18n("&Opacity"), trans_popup );
} }