summaryrefslogtreecommitdiffstats
path: root/src/commands/edit/SetLyricsCommand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/edit/SetLyricsCommand.cpp')
-rw-r--r--src/commands/edit/SetLyricsCommand.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/edit/SetLyricsCommand.cpp b/src/commands/edit/SetLyricsCommand.cpp
index cfee2bf..f10d746 100644
--- a/src/commands/edit/SetLyricsCommand.cpp
+++ b/src/commands/edit/SetLyricsCommand.cpp
@@ -106,7 +106,7 @@ SetLyricsCommand::execute()
std::pair<timeT, timeT> barRange = comp->getBarRange(barNo++);
TQString syllables = *bsi;
- syllables.replace(TQRegExp("\\[\\d+\\] "), " ");
+ syllables.tqreplace(TQRegExp("\\[\\d+\\] "), " ");
TQStringList syllableList = TQStringList::split(" ", syllables); // no empties
i = m_segment->findTime(barRange.first);
@@ -131,7 +131,7 @@ SetLyricsCommand::execute()
}
TQString syllable = *ssi;
- syllable.replace(TQRegExp("~"), " ");
+ syllable.tqreplace(TQRegExp("~"), " ");
syllable = syllable.simplifyWhiteSpace();
if (syllable == "")
continue;