mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-21 03:21:43 -06:00
qt5: toAscii() -> toLatin1()
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user