removed removed obsolete ctrlClick() signal
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1131 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -78,25 +78,19 @@ void pixmapButton::paintEvent( QPaintEvent * )
|
||||
|
||||
void pixmapButton::mousePressEvent( QMouseEvent * _me )
|
||||
{
|
||||
if( _me->button() == Qt::LeftButton &&
|
||||
engine::getMainWindow()->isCtrlPressed() )
|
||||
// Show pressing graphics if this isn't checkable
|
||||
if( !isCheckable() )
|
||||
{
|
||||
emit( ctrlClick() );
|
||||
_me->accept();
|
||||
m_pressed = TRUE;
|
||||
update();
|
||||
}
|
||||
else
|
||||
{
|
||||
// Show pressing graphics if this isn't checkable
|
||||
if( !isCheckable() )
|
||||
{
|
||||
m_pressed = TRUE;
|
||||
update();
|
||||
}
|
||||
|
||||
automatableButton::mousePressEvent( _me );
|
||||
}
|
||||
automatableButton::mousePressEvent( _me );
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void pixmapButton::mouseReleaseEvent( QMouseEvent * _me )
|
||||
{
|
||||
automatableButton::mouseReleaseEvent( _me );
|
||||
@@ -108,6 +102,9 @@ void pixmapButton::mouseReleaseEvent( QMouseEvent * _me )
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void pixmapButton::mouseDoubleClickEvent( QMouseEvent * _me )
|
||||
{
|
||||
emit doubleClicked();
|
||||
|
||||
Reference in New Issue
Block a user