aboutsummaryrefslogtreecommitdiffstats
path: root/commands/command_edit_trip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'commands/command_edit_trip.cpp')
-rw-r--r--commands/command_edit_trip.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/command_edit_trip.cpp b/commands/command_edit_trip.cpp
index c0f512907..f6d7251ea 100644
--- a/commands/command_edit_trip.cpp
+++ b/commands/command_edit_trip.cpp
@@ -15,7 +15,7 @@ EditTripBase::EditTripBase(dive_trip *tripIn, const QString &newValue) : trip(tr
// Therefore, setting of the title is done here.
bool EditTripBase::workToBeDone()
{
- setText(tr("Edit %1").arg(fieldName()));
+ setText(Command::Base::tr("Edit %1").arg(fieldName()));
return data(trip) != value;
}
@@ -50,7 +50,7 @@ QString EditTripLocation::data(dive_trip *t) const
QString EditTripLocation::fieldName() const
{
- return tr("trip location");
+ return Command::Base::tr("trip location");
}
TripField EditTripLocation::fieldId() const
@@ -72,7 +72,7 @@ QString EditTripNotes::data(dive_trip *t) const
QString EditTripNotes::fieldName() const
{
- return tr("trip notes");
+ return Command::Base::tr("trip notes");
}
TripField EditTripNotes::fieldId() const