mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 23:49:35 -05:00
removed debug info, added missing error message
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6140 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
c117078566
commit
718314af75
@ -365,8 +365,6 @@ ChatTabWidget *ChatLobbyWidget::getTabWidget()
|
||||
|
||||
void ChatLobbyWidget::displayChatLobbyEvent(qulonglong lobby_id, int event_type, const QString& nickname, const QString& str)
|
||||
{
|
||||
std::cerr << "Received displayChatLobbyEvent()!" << std::endl;
|
||||
|
||||
std::string vpid;
|
||||
if (rsMsgs->getVirtualPeerId(lobby_id, vpid)) {
|
||||
if (ChatLobbyDialog *cld = dynamic_cast<ChatLobbyDialog*>(ChatDialog::getExistingChat(vpid))) {
|
||||
|
@ -43,7 +43,7 @@
|
||||
#include "SearchDialog.h"
|
||||
#include "TransfersDialog.h"
|
||||
#include "MessagesDialog.h"
|
||||
//#include "SharedFilesDialog.h"
|
||||
#include "SharedFilesDialog.h"
|
||||
#include "PluginsPage.h"
|
||||
#include "NewsFeed.h"
|
||||
#include "ShareManager.h"
|
||||
@ -885,32 +885,35 @@ void SetForegroundWindowInternal(HWND hWnd)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
switch (page) {
|
||||
// case Network:
|
||||
// return _instance->networkDialog;
|
||||
case Friends:
|
||||
return _instance->friendsDialog;
|
||||
case ChatLobby:
|
||||
return _instance->chatLobbyDialog;
|
||||
case Transfers:
|
||||
return _instance->transfersDialog;
|
||||
// case SharedDirectories:
|
||||
// return _instance->sharedfilesDialog;
|
||||
case Messages:
|
||||
return _instance->messagesDialog;
|
||||
switch (page)
|
||||
{
|
||||
case Network:
|
||||
return _instance->friendsDialog->networkDialog;
|
||||
case Friends:
|
||||
return _instance->friendsDialog;
|
||||
case ChatLobby:
|
||||
return _instance->chatLobbyDialog;
|
||||
case Transfers:
|
||||
return _instance->transfersDialog;
|
||||
case SharedDirectories:
|
||||
return _instance->transfersDialog->localSharedFiles;
|
||||
case Search:
|
||||
return _instance->transfersDialog->searchDialog;
|
||||
case Messages:
|
||||
return _instance->messagesDialog;
|
||||
#ifdef RS_USE_LINKS
|
||||
case Links:
|
||||
return _instance->linksDialog;
|
||||
case Links:
|
||||
return _instance->linksDialog;
|
||||
#endif
|
||||
case Channels:
|
||||
return _instance->channelFeed;
|
||||
case Forums:
|
||||
return _instance->forumsDialog;
|
||||
case Channels:
|
||||
return _instance->channelFeed;
|
||||
case Forums:
|
||||
return _instance->forumsDialog;
|
||||
#ifdef BLOGS
|
||||
case Blogs:
|
||||
return _instance->blogsFeed;
|
||||
case Blogs:
|
||||
return _instance->blogsFeed;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
@ -1215,7 +1215,9 @@ static void processList(const QStringList &list, const QString &textSingular, co
|
||||
|
||||
MainWindow::showWindow(MainWindow::Search);
|
||||
SearchDialog *searchDialog = dynamic_cast<SearchDialog*>(MainWindow::getPage(MainWindow::Search));
|
||||
if (!searchDialog) {
|
||||
if (!searchDialog)
|
||||
{
|
||||
std::cerr << "Retrieve of search dialog failed. Please debug!" << std::endl;
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -1490,7 +1490,7 @@ void TransfersDialog::changeSpeed(int speed)
|
||||
|
||||
void TransfersDialog::changeQueuePosition(QueueMove mv)
|
||||
{
|
||||
std::cerr << "In changeQueuePosition (gui)"<< std::endl ;
|
||||
// std::cerr << "In changeQueuePosition (gui)"<< std::endl ;
|
||||
std::set<std::string> items;
|
||||
std::set<std::string>::iterator it;
|
||||
getSelectedItems(&items, NULL);
|
||||
@ -1503,7 +1503,7 @@ void TransfersDialog::changeQueuePosition(QueueMove mv)
|
||||
|
||||
void TransfersDialog::clearcompleted()
|
||||
{
|
||||
std::cerr << "TransfersDialog::clearcompleted()" << std::endl;
|
||||
// std::cerr << "TransfersDialog::clearcompleted()" << std::endl;
|
||||
rsFiles->FileClearCompleted();
|
||||
}
|
||||
|
||||
@ -1512,8 +1512,6 @@ void TransfersDialog::showFileDetails()
|
||||
std::string file_hash ;
|
||||
int nb_select = 0 ;
|
||||
|
||||
std::cout << "new selection " << std::endl ;
|
||||
|
||||
for(int i = 0; i <= DLListModel->rowCount(); i++)
|
||||
if(selection->isRowSelected(i, QModelIndex()))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user