Skip to content

Commit

Permalink
qt: enable wordWrap for peers-tab detail services
Browse files Browse the repository at this point in the history
  • Loading branch information
RandyMcMillan committed May 9, 2021
1 parent d22e7ee commit fb5e880
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions src/qt/forms/debugwindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -1204,6 +1204,9 @@
<property name="textFormat">
<enum>Qt::PlainText</enum>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
<property name="textInteractionFlags">
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
</property>
Expand Down
7 changes: 4 additions & 3 deletions src/qt/guiutil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ ToolTipToRichTextFilter::ToolTipToRichTextFilter(int _size_threshold, QObject *p
size_threshold(_size_threshold)
{


}

bool ToolTipToRichTextFilter::eventFilter(QObject *obj, QEvent *evt)
Expand All @@ -455,8 +456,8 @@ bool ToolTipToRichTextFilter::eventFilter(QObject *obj, QEvent *evt)
return QObject::eventFilter(obj, evt);
}

LabelOutOfFocusEventFilter::LabelOutOfFocusEventFilter(QObject* parent)
: QObject(parent)
LabelOutOfFocusEventFilter::LabelOutOfFocusEventFilter(QObject* parent) :
QObject(parent)
{
}

Expand Down Expand Up @@ -708,7 +709,7 @@ QString formatServicesStr(quint64 mask)
}

if (strList.size())
return strList.join(" & ");
return strList.join(", ");
else
return QObject::tr("None");
}
Expand Down

0 comments on commit fb5e880

Please sign in to comment.