mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
- Passing parameters between qBT instances in a better way (socket)
This commit is contained in:
parent
b54c4ae028
commit
92277992d3
3 changed files with 37 additions and 118 deletions
|
@ -96,7 +96,7 @@ class GUI : public QMainWindow, private Ui::MainWindow{
|
|||
bool no_search_results;
|
||||
QByteArray search_result_line_truncated;
|
||||
unsigned long nb_search_results;
|
||||
QTcpServer *tcpServer;
|
||||
QTcpServer tcpServer;
|
||||
QTcpSocket *clientConnection;
|
||||
|
||||
protected slots:
|
||||
|
@ -109,8 +109,8 @@ class GUI : public QMainWindow, private Ui::MainWindow{
|
|||
void updateDlList();
|
||||
void showCreateWindow();
|
||||
void clearLog();
|
||||
void AnotherInstanceConnected();
|
||||
void readParamsInFile();
|
||||
void readParamsOnSocket();
|
||||
void acceptConnection();
|
||||
void saveCheckedSearchEngines(int) const;
|
||||
void saveColWidthDLList() const;
|
||||
void saveColWidthSearchList() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue