mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
removed some debug info
This commit is contained in:
parent
083dc626da
commit
d1b09b93b9
8 changed files with 29 additions and 20 deletions
|
@ -871,11 +871,8 @@ void CreateCircleDialog::MembershipListCustomPopupMenu( QPoint )
|
|||
QMenu contextMnu( this );
|
||||
|
||||
QTreeWidgetItem *item = ui.treeWidget_membership->currentItem();
|
||||
if (item) {
|
||||
|
||||
if (item && !mReadOnly)
|
||||
contextMnu.addAction(QIcon(":/images/delete.png"), tr("Remove Member"), this, SLOT(removeMember()));
|
||||
|
||||
}
|
||||
|
||||
contextMnu.exec(QCursor::pos());
|
||||
}
|
||||
|
|
|
@ -359,7 +359,7 @@ void IdDialog::loadCircleGroupMeta(const uint32_t &token)
|
|||
if(!mExternalOtherCircleItem)
|
||||
{
|
||||
mExternalOtherCircleItem = new QTreeWidgetItem();
|
||||
mExternalOtherCircleItem->setText(0, tr("Circles (Other)"));
|
||||
mExternalOtherCircleItem->setText(0, tr("Other visible circles"));
|
||||
|
||||
ui->treeWidget_membership->addTopLevelItem(mExternalOtherCircleItem);
|
||||
}
|
||||
|
@ -374,7 +374,7 @@ void IdDialog::loadCircleGroupMeta(const uint32_t &token)
|
|||
if(!mExternalAdminCircleItem)
|
||||
{
|
||||
mExternalAdminCircleItem = new QTreeWidgetItem();
|
||||
mExternalAdminCircleItem->setText(0, tr("Circles I own"));
|
||||
mExternalAdminCircleItem->setText(0, tr("Circles I admin"));
|
||||
ui->treeWidget_membership->addTopLevelItem(mExternalAdminCircleItem);
|
||||
}
|
||||
|
||||
|
|
|
@ -135,8 +135,6 @@ static void loadPrivateIdsCallback(GxsIdDetailsType type, const RsIdentityDetail
|
|||
QString text = GxsIdDetails::getNameForType(type, details);
|
||||
QString id = QString::fromStdString(details.mId.toStdString());
|
||||
|
||||
std::cerr << "chooser: in callback. details.mId=" << details.mId << ", name=" << details.mNickname << " count before=" << chooser->count()<< std::endl;
|
||||
|
||||
/* Find and replace text of exisiting item */
|
||||
int index = chooser->findData(id);
|
||||
if (index >= 0) {
|
||||
|
@ -146,7 +144,6 @@ static void loadPrivateIdsCallback(GxsIdDetailsType type, const RsIdentityDetail
|
|||
chooser->addItem(text, id);
|
||||
index = chooser->count() - 1;
|
||||
}
|
||||
std::cerr << "chooser: in callback. count after=" << chooser->count()<< std::endl;
|
||||
|
||||
QList<QIcon> icons;
|
||||
|
||||
|
|
|
@ -57,7 +57,6 @@
|
|||
/*****
|
||||
* #define NOTIFY_DEBUG
|
||||
****/
|
||||
#define NOTIFY_DEBUG
|
||||
|
||||
/*static*/ NotifyQt *NotifyQt::_instance = NULL;
|
||||
/*static*/ bool NotifyQt::_disableAllToaster = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue