Fixed logically dead code in ChatLobbyWidget::getTreeWidgetItem.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8466 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2015-06-15 17:45:15 +00:00
parent 9947a21c73
commit d2ddab0ab9

View File

@ -808,7 +808,7 @@ QTreeWidgetItem *ChatLobbyWidget::getTreeWidgetItem(ChatLobbyId id)
case 0: lobby_item = privateSubLobbyItem; break; case 0: lobby_item = privateSubLobbyItem; break;
case 1: lobby_item = publicSubLobbyItem; break; case 1: lobby_item = publicSubLobbyItem; break;
case 2: lobby_item = privateLobbyItem; break; case 2: lobby_item = privateLobbyItem; break;
case 4: lobby_item = publicLobbyItem; break; case 3: lobby_item = publicLobbyItem; break;
default: lobby_item = publicLobbyItem; default: lobby_item = publicLobbyItem;
} }
//QTreeWidgetItem *lobby_item = (p==0)?publicLobbyItem:privateLobbyItem ; //QTreeWidgetItem *lobby_item = (p==0)?publicLobbyItem:privateLobbyItem ;