QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
This commit is contained in:
committed by
wmayer
parent
d5c074f80d
commit
cd2db00f22
@@ -243,7 +243,7 @@ void Sequencer::showRemainingTime()
|
||||
QTime time( 0,0, 0);
|
||||
time = time.addSecs( rest/1000 );
|
||||
QString remain = Gui::ProgressBar::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(getMainWindow()->statusBar(), "showMessage",
|
||||
|
||||
Reference in New Issue
Block a user