From 2a97934db4c9e0bedf87649575cba527b874386f Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Fri, 10 Jan 2020 07:09:17 +0800 Subject: Cleanup: Move stringToList to core/qthelper.cpp The same code was used in desktop and undo commands. Let's unify. Signed-off-by: Berthold Stoeger --- commands/command_edit.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'commands') diff --git a/commands/command_edit.cpp b/commands/command_edit.cpp index d55684814..80a7ac986 100644 --- a/commands/command_edit.cpp +++ b/commands/command_edit.cpp @@ -726,15 +726,6 @@ DiveField EditTags::fieldId() const return DiveField::TAGS; } -// String list helper -static QStringList stringToList(const QString &s) -{ - QStringList res = s.split(",", QString::SkipEmptyParts); - for (QString &str: res) - str = str.trimmed(); - return res; -} - // ***** Buddies ***** QStringList EditBuddies::data(struct dive *d) const { -- cgit v1.2.3-70-g09d2