switch sides of conversation

This commit is contained in:
DenioD
2020-05-03 19:45:49 +02:00
parent d3d19cab9e
commit 4da6eddae2
3 changed files with 16 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ void ContactModel::renderContactList(QListView* view)
QStandardItem* Items1 = new QStandardItem(QIcon("res/sdlogo.png"),c.getName());
contact->appendRow(Items1);
view->setModel(contact);
view->setIconSize(QSize(80,100));
view->setIconSize(QSize(60,70));
view->setUniformItemSizes(true);
view->setDragDropMode(QAbstractItemView::DropOnly);;
}
@@ -24,7 +24,7 @@ void ContactModel::renderContactList(QListView* view)
QStandardItem* Items1 = new QStandardItem(QIcon("res/sdlogo2.png"),c.getName());
contact->appendRow(Items1);
view->setModel(contact);
view->setIconSize(QSize(80,100));
view->setIconSize(QSize(60,70));
view->setUniformItemSizes(true);
view->setDragDropMode(QAbstractItemView::DropOnly);;