forked from qt-creator/qt-creator
Fix repeting Stage/Unstage actions in unified diff editor
Don't store diff file index, chunk index and diff editor controller anymore. Pass needed indices by value, retrieve them when needed as lambda copy. Change-Id: I3a81f1ab6d131c0b1d9899ac4b061b6e25582f51 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -85,9 +85,9 @@ private:
|
||||
int lineNumber, int columnNumber);
|
||||
void slotRightJumpToOriginalFileRequested(int diffFileIndex,
|
||||
int lineNumber, int columnNumber);
|
||||
void slotLeftContextMenuRequested(QMenu *menu, int diffFileIndex,
|
||||
void slotLeftContextMenuRequested(QMenu *menu, int fileIndex,
|
||||
int chunkIndex);
|
||||
void slotRightContextMenuRequested(QMenu *menu, int diffFileIndex,
|
||||
void slotRightContextMenuRequested(QMenu *menu, int fileIndex,
|
||||
int chunkIndex);
|
||||
void leftVSliderChanged();
|
||||
void rightVSliderChanged();
|
||||
|
||||
Reference in New Issue
Block a user