File tree Expand file tree Collapse file tree 2 files changed +1
-18
lines changed Expand file tree Collapse file tree 2 files changed +1
-18
lines changed Original file line number Diff line number Diff line change @@ -348,23 +348,6 @@ namespace GUIUtil
348
348
*/
349
349
bool HasPixmap (const QLabel* label);
350
350
351
- /* *
352
- * Splits the string into substrings wherever separator occurs, and returns
353
- * the list of those strings. Empty strings do not appear in the result.
354
- *
355
- * QString::split() signature differs in different Qt versions:
356
- * - QString::SplitBehavior is deprecated since Qt 5.15
357
- * - Qt::SplitBehavior was introduced in Qt 5.14
358
- * If {QString|Qt}::SkipEmptyParts behavior is required, use this
359
- * function instead of QString::split().
360
- */
361
- template <typename SeparatorType>
362
- QStringList SplitSkipEmptyParts (const QString& string, const SeparatorType& separator)
363
- {
364
- return string.split (separator, Qt::SkipEmptyParts);
365
- }
366
-
367
-
368
351
/* *
369
352
* Replaces a plain text link with an HTML tagged one.
370
353
*/
Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ void TransactionView::setModel(WalletModel *_model)
221
221
if (_model->getOptionsModel ())
222
222
{
223
223
// Add third party transaction URLs to context menu
224
- QStringList listUrls = GUIUtil::SplitSkipEmptyParts ( _model->getOptionsModel ()->getThirdPartyTxUrls (), " |" );
224
+ QStringList listUrls = _model->getOptionsModel ()->getThirdPartyTxUrls (). split ( " |" , Qt::SkipEmptyParts );
225
225
bool actions_created = false ;
226
226
for (int i = 0 ; i < listUrls.size (); ++i)
227
227
{
You can’t perform that action at this time.
0 commit comments