Refactor TabReplay creation (#6064)

This commit is contained in:
RickyRister 2025-08-15 02:15:02 -03:00 committed by GitHub
parent 851fad3e3f
commit 881243da6a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 76 additions and 60 deletions

View file

@ -23,7 +23,6 @@ private:
AbstractClient *client;
QTreeView *localDirView;
QFileSystemModel *localDirModel;
QToolBar *leftToolBar, *rightToolBar;
RemoteReplayList_TreeWidget *serverDirView;
QGroupBox *leftGroupBox, *rightGroupBox;
@ -31,6 +30,9 @@ private:
QAction *aOpenReplaysFolder;
QAction *aOpenRemoteReplay, *aDownload, *aKeep, *aDeleteRemoteReplay;
QGroupBox *createLeftLayout();
QGroupBox *createRightLayout();
void setRemoteEnabled(bool enabled);
void downloadNodeAtIndex(const QModelIndex &curLeft, const QModelIndex &curRight);