From 564aff97f80abac84be64552f5238903cb126c33 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Sat, 4 Oct 2014 00:50:57 +0000 Subject: Fix QT5 toAscii() compatibility issue. --- src/gui/server.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui') diff --git a/src/gui/server.cc b/src/gui/server.cc index 7af0aa7c..4095fa71 100644 --- a/src/gui/server.cc +++ b/src/gui/server.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2013, Gabriel Dos Reis. +// Copyright (C) 2013-2014, Gabriel Dos Reis. // All rights reserved. // Written by Gabriel Dos Reis. // @@ -53,7 +53,7 @@ namespace OpenAxiom { void Server::input(const QString& s) { - write(s.toAscii()); + write(s.toLatin1()); write("\n"); } -- cgit v1.2.3