~ubuntu-branches/ubuntu/hardy/lmms/hardy

« back to all changes in this revision

Viewing changes to src/widgets/effect_label.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2007-10-03 20:52:22 UTC
  • Revision ID: james.westby@ubuntu.com-20071003205222-vxd9hqwo8oacsyf5
Tags: 0.3.0-1ubuntu3
Added patch from tobydox. Fixes various random crashes. 
(LP: #145608)

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
#ifndef QT3
76
76
        engine::getMainWindow()->workspace()->addWindow( m_effWidget );
77
77
#endif
 
78
        m_effWidget->setWindowTitle( _initial_name );
78
79
        m_effWidget->setFixedSize( 240, 242 );
79
80
        m_effWidget->hide();
80
81
        connect( m_effWidget, SIGNAL( closed() ), 
103
104
void FASTCALL effectLabel::setText( const QString & _text )
104
105
{
105
106
        m_label->setText( _text );
 
107
        m_effWidget->setWindowTitle( _text );
106
108
}
107
109
 
108
110