mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-03 12:03:55 -07:00
fixed #43: add delete button to local dir view in deck storage tab and in remote dir view in replays tab
This commit is contained in:
parent
7c8b3fc5e3
commit
e5a0a08569
14 changed files with 192 additions and 40 deletions
|
|
@ -24,10 +24,12 @@ private:
|
|||
RemoteReplayList_TreeWidget *serverDirView;
|
||||
QGroupBox *leftGroupBox, *rightGroupBox;
|
||||
|
||||
QAction *aOpenLocalReplay, *aOpenRemoteReplay, *aDownload, *aKeep;
|
||||
QAction *aOpenLocalReplay, *aDeleteLocalReplay, *aOpenRemoteReplay, *aDownload, *aKeep, *aDeleteRemoteReplay;
|
||||
private slots:
|
||||
void actOpenLocalReplay();
|
||||
|
||||
void actDeleteLocalReplay();
|
||||
|
||||
void actOpenRemoteReplay();
|
||||
void openRemoteReplayFinished(const Response &r);
|
||||
|
||||
|
|
@ -37,6 +39,9 @@ private slots:
|
|||
void actKeepRemoteReplay();
|
||||
void keepRemoteReplayFinished(const Response &r, const CommandContainer &commandContainer);
|
||||
|
||||
void actDeleteRemoteReplay();
|
||||
void deleteRemoteReplayFinished(const Response &r, const CommandContainer &commandContainer);
|
||||
|
||||
void replayAddedEventReceived(const Event_ReplayAdded &event);
|
||||
signals:
|
||||
void openReplay(GameReplay *replay);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue