Fix remaining toAscii/fromAscii
Qt5 does not have toAscii or fromAscii. Use toLatin1 and fromLatin1 respectively. Both replacement functions exist in Qt4.8.
This commit is contained in:
@@ -195,7 +195,7 @@ void SequencerDialog::showRemainingTime()
|
||||
QTime time( 0,0, 0);
|
||||
time = time.addSecs( rest/1000 );
|
||||
QString remain = Gui::ProgressDialog::tr("Remaining: %1").arg(time.toString());
|
||||
QString status = QString::fromAscii("%1\t[%2]").arg(txt).arg(remain);
|
||||
QString status = QString::fromLatin1("%1\t[%2]").arg(txt).arg(remain);
|
||||
|
||||
if (thr != currentThread) {
|
||||
QMetaObject::invokeMethod(d->dlg, "setLabelText",
|
||||
|
||||
Reference in New Issue
Block a user