Guest User

Untitled

a guest
Feb 19th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.32 KB | None | 0 0
  1. ///reconnect all
  2. void MainWindow::onReconnectAllClicked_gui(GtkWidget *widget, gpointer data)
  3. {
  4.     MainWindow *mw = (MainWindow *)data;
  5.    
  6.     dcpp:Client* client;
  7.    
  8.     for(vector<Hub*>::const_iterator i= mw->allhub.begin(); i != mw->allhub.end();++i)
  9.     {
  10.         if (client)
  11.         client->reconnect();
  12.     }
  13.    
  14.     mw->allhub.clear();
  15. }
Add Comment
Please, Sign In to add comment