Skip to content

Commit

Permalink
Fixed compilation warning in omemo config widget
Browse files Browse the repository at this point in the history
  • Loading branch information
Ri0n committed Jul 27, 2020
1 parent e067934 commit c430f74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generic/omemoplugin/src/configwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ ConfigWidgetTabWithTable::ConfigWidgetTabWithTable(int account, OMEMO *omemo, QW
{
m_table = new QTableView(this);
m_table->setShowGrid(true);
m_table->setEditTriggers(nullptr);
m_table->setEditTriggers({});
m_table->setSelectionBehavior(QAbstractItemView::SelectRows);
m_table->setContextMenuPolicy(Qt::CustomContextMenu);
m_table->setSortingEnabled(true);
Expand Down

0 comments on commit c430f74

Please sign in to comment.