comparison widgets/KeyReference.cpp @ 756:9cfcb2924ee3 tony_integration

Merge from branch tonioni
author Chris Cannam
date Wed, 02 Apr 2014 08:51:33 +0100
parents 394caa98d21a
children 44675ab217a3
comparison
equal deleted inserted replaced
755:ad01e7d4a956 756:9cfcb2924ee3
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