mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-24 22:30:42 -04:00
Added a display for file hashing activity using notifyQt class. This time it works nicely.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@938 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
c7adb4907c
commit
80a8b41d66
15 changed files with 61 additions and 63 deletions
|
@ -141,14 +141,19 @@ int main(int argc, char *argv[])
|
|||
//skinWindow->setCentralWidget(w);
|
||||
|
||||
/* Attach the Dialogs, to the Notify Class */
|
||||
notify->setNetworkDialog(w->networkDialog);
|
||||
notify->setPeersDialog(w->peersDialog);
|
||||
notify->setDirDialog(w->sharedfilesDialog);
|
||||
notify->setTransfersDialog(w->transfersDialog);
|
||||
notify->setChatDialog(w->chatDialog);
|
||||
notify->setMessagesDialog(w->messagesDialog);
|
||||
notify->setChannelsDialog(w->channelsDialog);
|
||||
notify->setMessengerWindow(w->messengerWindow);
|
||||
notify->setNetworkDialog(w->networkDialog);
|
||||
notify->setPeersDialog(w->peersDialog);
|
||||
notify->setDirDialog(w->sharedfilesDialog);
|
||||
notify->setTransfersDialog(w->transfersDialog);
|
||||
notify->setChatDialog(w->chatDialog);
|
||||
notify->setMessagesDialog(w->messagesDialog);
|
||||
notify->setChannelsDialog(w->channelsDialog);
|
||||
notify->setMessengerWindow(w->messengerWindow);
|
||||
|
||||
// I'm using a signal to transfer the hashing info to the mainwindow, because Qt schedules signals properly to
|
||||
// avoid clashes between infos from threads.
|
||||
//
|
||||
QObject::connect(notify,SIGNAL(hashingInfo(const QString&)),w,SLOT(updateHashingInfo(const QString&))) ;
|
||||
|
||||
/* only show window, if not startMinimized */
|
||||
if (!startMinimised)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue