Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ///reconnect all
- void MainWindow::onReconnectAllClicked_gui(GtkWidget *widget, gpointer data)
- {
- MainWindow *mw = (MainWindow *)data;
- dcpp:Client* client;
- for(vector<Hub*>::const_iterator i= mw->allhub.begin(); i != mw->allhub.end();++i)
- {
- if (client)
- client->reconnect();
- }
- mw->allhub.clear();
- }
Add Comment
Please, Sign In to add comment