diff options
Diffstat (limited to 'kde-apps/kstars/files/kstars-4.14.3-indilib100.patch')
-rw-r--r-- | kde-apps/kstars/files/kstars-4.14.3-indilib100.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/kde-apps/kstars/files/kstars-4.14.3-indilib100.patch b/kde-apps/kstars/files/kstars-4.14.3-indilib100.patch new file mode 100644 index 000000000000..9b26cec4f0ac --- /dev/null +++ b/kde-apps/kstars/files/kstars-4.14.3-indilib100.patch @@ -0,0 +1,26 @@ +From 97c3d53af2998420f7646b3a482417d00c291ec8 Mon Sep 17 00:00:00 2001 +From: Jasem Mutlaq <mutlaqja@ikarustech.com> +Date: Mon, 1 Dec 2014 00:50:27 +0300 +Subject: [PATCH] use std::string from libindi + +--- + kstars/indi/indidevice.cpp | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/kstars/indi/indidevice.cpp b/kstars/indi/indidevice.cpp +index f52decc..2a05ca6 100644 +--- a/kstars/indi/indidevice.cpp ++++ b/kstars/indi/indidevice.cpp +@@ -268,7 +268,8 @@ void INDI_D::updateMessageLog(INDI::BaseDevice *idv, int messageID) + return; + + msgST_w->ensureCursorVisible(); +- msgST_w->insertPlainText(dv->messageQueue(messageID) + QString("\n")); ++ msgST_w->insertPlainText(QString::fromStdString(dv->messageQueue(messageID))); ++ msgST_w->insertPlainText("\n"); + QTextCursor c = msgST_w->textCursor(); + c.movePosition(QTextCursor::Start); + msgST_w->setTextCursor(c); +-- +2.0.5 + |