Logo Search packages:      
Sourcecode: webissues version File versions  Download package

void DataManager::unlockIssue ( int  issueId  ) 

Release a previous issue lock.

When the lock count of the issue is zero, it can be removed from memory.

issueId Identifier of the issue to unlock.

Definition at line 126 of file datamanager.cpp.

References WebIssues::IssueState::lockCount(), WebIssues::IssueState::setLockCount(), and WebIssues::IssueState::setTimeUsed().

Referenced by WebIssues::IssueView::~IssueView().

    IssueState* state = issueState( issueId );

    state->setLockCount( state->lockCount() - 1 );
    state->setTimeUsed( QDateTime::currentDateTime() );


Generated by  Doxygen 1.6.0   Back to index