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

void QApt::Backend::redo (  )  [slot]

Re-performs the last un-done action to the package cache.

Definition at line 566 of file backend.cpp.

References currentCacheState(), and restoreCacheState().

{
    Q_D(Backend);

    if (d->redoStack.isEmpty()) {
        return;
    }

    // Place current state on undo stack
    d->undoStack.append(currentCacheState());

    CacheState state = d->redoStack.takeFirst();
    restoreCacheState(state);
}


Generated by  Doxygen 1.6.0   Back to index