mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-11-30 20:36:36 -05:00
Added Qt dependent macro for QString::SkipEmptyParts/Qt::SkipEmptyParts
This commit is contained in:
parent
f38b72e7a3
commit
e2e1a431ff
11 changed files with 23 additions and 17 deletions
|
|
@ -640,7 +640,7 @@ void MessageWidget::fill(const std::string &msgId)
|
|||
|
||||
ui.trans_ToText->setText(to_text);
|
||||
|
||||
int recipientsCount = ui.trans_ToText->toPlainText().split(QRegExp("(\\s|\\n|\\r)+"), QString::SkipEmptyParts).count();
|
||||
int recipientsCount = ui.trans_ToText->toPlainText().split(QRegExp("(\\s|\\n|\\r)+"), QtSkipEmptyParts).count();
|
||||
ui.expandButton->setText( QString::number(recipientsCount)+ " " + tr("more"));
|
||||
|
||||
if (recipientsCount >=20) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue