From 463404ce952bffb323cd68335eb5e326d7837c88 Mon Sep 17 00:00:00 2001 From: deva Date: Fri, 19 Sep 2008 15:02:48 +0000 Subject: Temporary frame caption solution --- client/mainwindow.cc | 2 +- server/src/server.cc | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/client/mainwindow.cc b/client/mainwindow.cc index 06207a5..50ca8a9 100644 --- a/client/mainwindow.cc +++ b/client/mainwindow.cc @@ -82,7 +82,7 @@ void MainWindow::update() if(macros.find(macroname) == macros.end()) { macros[macroname] = new MacroWindow(netcom, macronode, course); - QGroupBox *g = new QGroupBox(" " + macroname); + QGroupBox *g = new QGroupBox(" " + xml_elem.attribute("caption", macroname)); g->setCheckable(false); g->setChecked(false); diff --git a/server/src/server.cc b/server/src/server.cc index 5d72098..83d9157 100644 --- a/server/src/server.cc +++ b/server/src/server.cc @@ -135,9 +135,9 @@ static std::string handleTransaction(Transaction &transaction) answer += " window.attributes["caption"] + "\""; + answer += ">\n"; + } answer += " \n"; mi2++; -- cgit v1.2.3