mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-24 17:00:27 -05:00
fixed compilation on ubuntu 18.04
This commit is contained in:
parent
712c7e5fb1
commit
7a873c3b53
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user