Skip to content

Commit

Permalink
Changed QString:fromStdString to ::toQStringLatin1.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mattias-Viklund committed Feb 2, 2024
1 parent 4ccd3c4 commit 6e81d3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/proxy/proxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ void Proxy::slot_onSendGameTimeToClock(const int year,
const int day,
const int hour)
{
const int month = m_mumeClock.getMumeMonth(QString::fromStdString(monthStr));
const int month = m_mumeClock.getMumeMonth(::toQStringLatin1(monthStr));
MumeMoment moment(year, month, day, hour, 0);
QString mumeTime = m_mumeClock.toMumeTime(moment);
m_mumeClock.parseMumeTime(mumeTime);
Expand Down

0 comments on commit 6e81d3a

Please sign in to comment.