Coding standards

This commit is contained in:
Brad Davis 2015-04-26 20:10:22 -07:00
parent fa31ba0754
commit aafecae4b5
2 changed files with 3 additions and 3 deletions

View file

@ -28,7 +28,7 @@ void InfoView::registerType() {
qmlRegisterType<InfoView>("Hifi", 1, 0, NAME.toLocal8Bit().constData());
}
QString fetchVersion(const QUrl & url) {
QString fetchVersion(const QUrl& url) {
QXmlQuery query;
query.bindVariable("file", QVariant(url));
query.setQuery("string((doc($file)//input[@id='version'])[1]/@value)");
@ -65,7 +65,7 @@ QUrl InfoView::url() {
return _url;
}
void InfoView::setUrl(const QUrl & url) {
void InfoView::setUrl(const QUrl& url) {
if (url != _url) {
_url = url;
emit urlChanged();

View file

@ -26,7 +26,7 @@ public:
InfoView(QQuickItem* parent = nullptr);
QUrl url();
void setUrl(const QUrl & url);
void setUrl(const QUrl& url);
signals:
void urlChanged();