mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Merge pull request #2776 from csoler/v0.6-BugFixing_30
Small Bug Fixing
This commit is contained in:
commit
7eb08c8706
@ -42,6 +42,8 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
//#define DEBUG_COMMENT_TREE_WIDGET
|
||||
|
||||
#define PCITEM_COLUMN_COMMENT 0
|
||||
#define PCITEM_COLUMN_AUTHOR 1
|
||||
#define PCITEM_COLUMN_DATE 2
|
||||
@ -768,8 +770,10 @@ void GxsCommentTreeWidget::insertComments(const std::vector<RsGxsComment>& comme
|
||||
new_comments.push_back(comment.mMeta.mMsgId);
|
||||
|
||||
/* convert to a QTreeWidgetItem */
|
||||
#ifdef DEBUG_COMMENT_TREE_WIDGET
|
||||
std::cerr << "GxsCommentTreeWidget::service_loadThread() Got Comment: " << comment.mMeta.mMsgId;
|
||||
std::cerr << std::endl;
|
||||
#endif
|
||||
|
||||
GxsIdRSTreeWidgetItem *item = new GxsIdRSTreeWidgetItem(NULL,GxsIdDetails::ICON_TYPE_AVATAR) ;
|
||||
QString text;
|
||||
|
@ -514,13 +514,13 @@ void GxsChannelPostsWidgetWithModel::keyPressEvent(QKeyEvent *e)
|
||||
|
||||
if(e->key() == Qt::Key_Left && index.column()==0)
|
||||
{
|
||||
ui->postsTree->setCurrentIndex(index.siblingAtColumn(n));
|
||||
ui->postsTree->setCurrentIndex(index.sibling(index.row(),n));
|
||||
e->accept();
|
||||
return;
|
||||
}
|
||||
if(e->key() == Qt::Key_Right && index.column()==n)
|
||||
{
|
||||
ui->postsTree->setCurrentIndex(index.siblingAtColumn(0));
|
||||
ui->postsTree->setCurrentIndex(index.sibling(index.row(),0));
|
||||
e->accept();
|
||||
return;
|
||||
}
|
||||
|
@ -255,7 +255,7 @@ private:
|
||||
QList<QLabel*> tagLabels;
|
||||
|
||||
// needed to send system flags with reply
|
||||
unsigned msgFlags;
|
||||
unsigned int msgFlags;
|
||||
|
||||
RSTreeWidgetItemCompareRole *m_compareRole;
|
||||
QCompleter *m_completer;
|
||||
|
Loading…
Reference in New Issue
Block a user