diff --git a/retroshare-gui/src/gui/RetroShareLink.cpp b/retroshare-gui/src/gui/RetroShareLink.cpp index 0191587ae..376f52439 100644 --- a/retroshare-gui/src/gui/RetroShareLink.cpp +++ b/retroshare-gui/src/gui/RetroShareLink.cpp @@ -505,6 +505,7 @@ void RetroShareLink::check() switch (_type) { case TYPE_UNKNOWN: + case TYPE_PRIVATE_CHAT: _valid = false; break; case TYPE_EXTRAFILE: @@ -590,6 +591,7 @@ QString RetroShareLink::title() const switch (_type) { case TYPE_UNKNOWN: + case TYPE_PRIVATE_CHAT: break; case TYPE_PUBLIC_MSG: { @@ -664,6 +666,7 @@ QString RetroShareLink::toString() const switch (_type) { case TYPE_UNKNOWN: + case TYPE_PRIVATE_CHAT: return ""; case TYPE_FILE: @@ -971,6 +974,7 @@ static void processList(const QStringList &list, const QString &textSingular, co case TYPE_MESSAGE: case TYPE_CERTIFICATE: case TYPE_PUBLIC_MSG: + case TYPE_PRIVATE_CHAT: // no need to ask break; diff --git a/retroshare-gui/src/gui/common/FriendList.cpp b/retroshare-gui/src/gui/common/FriendList.cpp index a9ffdf448..807bd13ff 100644 --- a/retroshare-gui/src/gui/common/FriendList.cpp +++ b/retroshare-gui/src/gui/common/FriendList.cpp @@ -280,7 +280,7 @@ void FriendList::changeEvent(QEvent *e) } } -void FriendList::initializeHeader(bool afterLoadSettings) +void FriendList::initializeHeader(bool /*afterLoadSettings*/) { // set column size QHeaderView *header = ui->peerTreeWidget->header(); @@ -587,7 +587,6 @@ void FriendList::insertPeers() bool isStatusColumnHidden = ui->peerTreeWidget->isColumnHidden(COLUMN_STATE); bool isAvatarColumnHidden = ui->peerTreeWidget->isColumnHidden(COLUMN_AVATAR); - bool isIPColumnHidden = ui->peerTreeWidget->isColumnHidden(COLUMN_IP); std::list statusInfo; rsStatus->getStatusList(statusInfo); diff --git a/retroshare-gui/src/gui/connect/ConfCertDialog.h b/retroshare-gui/src/gui/connect/ConfCertDialog.h index 949c0667c..90a3d7260 100644 --- a/retroshare-gui/src/gui/connect/ConfCertDialog.h +++ b/retroshare-gui/src/gui/connect/ConfCertDialog.h @@ -37,7 +37,7 @@ public: template static void showIt(const ID_CLASS& id, enumPage page) { - ConfCertDialog *confdialog = confdialog = instance(id); + ConfCertDialog *confdialog = instance(id); switch (page) { case PageDetails: