qt5: toAscii() -> toLatin1()

This commit is contained in:
Peinthor Rene
2014-02-13 23:52:03 +01:00
parent 402f622f32
commit 202b6c915e
3 changed files with 4 additions and 4 deletions

View File

@@ -141,7 +141,7 @@ void EditDialog::checkDataType()
{
// Check if data is text only
ui->comboEditor->setVisible(true);
if(QString(hexEdit->data()).toAscii() == hexEdit->data()) // Any proper way??
if(QString(hexEdit->data()).toLatin1() == hexEdit->data()) // Any proper way??
{
ui->editorStack->setCurrentIndex(0);