Changeset ab9b2674813f203463912f769b8f3b978d9bada9

Show
Ignore:
Timestamp:
10/01/08 18:26:49 (1 year ago)
Author:
Rémi Duraffort <ivoire@videolan.org>
git-committer:
Rémi Duraffort <ivoire@videolan.org> 1199986009 +0000
git-parent:

[907dd03351e05296c04d53c7589c023a9dfbccf9]

git-author:
Rémi Duraffort <ivoire@videolan.org> 1199986009 +0000
Message:

Now the "cancel" button in the progress Dialog is working.
Feel free to play with it...

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/gui/qt4/dialogs/interaction.cpp

    r9319c1e rab9b267  
    214214    p_dialog->i_status = ANSWERED_DIALOG; 
    215215    p_dialog->i_return = i_ret; 
     216 
     217    /* Alert the Dialog_*_Progress that the user had clicked on "cancel" */ 
     218    if( p_dialog->i_flags & DIALOG_USER_PROGRESS || 
     219        p_dialog->i_flags & DIALOG_INTF_PROGRESS ) 
     220        p_dialog->b_cancelled = true; 
     221 
    216222    hide(); 
    217223    vlc_mutex_unlock( &p_dialog->p_interaction->object_lock );