You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.0 KiB
36 lines
1.0 KiB
diff -ur qp10.2.orig/src/xqp/term.cc qp10.2/src/xqp/term.cc
|
|
--- qp10.2.orig/src/xqp/term.cc 2008-07-09 07:32:37.000000000 +0200
|
|
+++ qp10.2/src/xqp/term.cc 2020-03-21 14:08:16.842059351 +0100
|
|
@@ -38,7 +38,7 @@
|
|
|
|
bool graphic_char(QChar c)
|
|
{
|
|
- switch (c.toAscii())
|
|
+ switch (c.toLatin1())
|
|
{
|
|
case '-':
|
|
case '/':
|
|
diff -ur qp10.2.orig/src/xqp/xqp.cc qp10.2/src/xqp/xqp.cc
|
|
--- qp10.2.orig/src/xqp/xqp.cc 2011-07-14 01:08:42.000000000 +0200
|
|
+++ qp10.2/src/xqp/xqp.cc 2020-03-21 14:08:16.842059351 +0100
|
|
@@ -167,7 +167,7 @@
|
|
|
|
void Xqp::send_cmd_to_qp(QString cmd)
|
|
{
|
|
- write(qp_stdin, cmd.toAscii(), cmd.length());
|
|
+ write(qp_stdin, cmd.toLatin1(), cmd.length());
|
|
}
|
|
|
|
|
|
diff -ur qp10.2.orig/src/xqp/xqp.pro qp10.2/src/xqp/xqp.pro
|
|
--- qp10.2.orig/src/xqp/xqp.pro 2008-07-09 07:32:37.000000000 +0200
|
|
+++ qp10.2/src/xqp/xqp.pro 2020-03-21 14:08:16.842059351 +0100
|
|
@@ -4,6 +4,7 @@
|
|
|
|
TEMPLATE = app
|
|
INCLUDEPATH += .
|
|
+QT += widgets
|
|
|
|
# Input
|
|
HEADERS += interact.h qpconfig.h qthelp.h term.h xqp.h xqpqueries.h
|