Mercurial > hg > svgui
comparison widgets/KeyReference.cpp @ 750:394caa98d21a tonioni
Use application name in key & mouse reference instead of hardcoding SV
author | Chris Cannam |
---|---|
date | Mon, 31 Mar 2014 10:20:21 +0100 |
parents | a31c8ee2e17e |
children | 44675ab217a3 |
comparison
equal
deleted
inserted
replaced
749:03423269a9d0 | 750:394caa98d21a |
---|---|
170 m_text = new QTextEdit; | 170 m_text = new QTextEdit; |
171 m_text->setHtml(text); | 171 m_text->setHtml(text); |
172 m_text->setReadOnly(true); | 172 m_text->setReadOnly(true); |
173 | 173 |
174 m_dialog = new QDialog; | 174 m_dialog = new QDialog; |
175 m_dialog->setWindowTitle(tr("Sonic Visualiser: Key and Mouse Reference")); | 175 m_dialog->setWindowTitle(tr("%1: Key and Mouse Reference") |
176 .arg(QApplication::applicationName())); | |
176 | 177 |
177 QVBoxLayout *layout = new QVBoxLayout; | 178 QVBoxLayout *layout = new QVBoxLayout; |
178 m_dialog->setLayout(layout); | 179 m_dialog->setLayout(layout); |
179 layout->addWidget(m_text); | 180 layout->addWidget(m_text); |
180 | 181 |