mirror of
https://github.com/lubosz/overte.git
synced 2025-04-16 09:46:29 +02:00
Coding standards
This commit is contained in:
parent
fa31ba0754
commit
aafecae4b5
2 changed files with 3 additions and 3 deletions
|
@ -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();
|
||||
|
|
|
@ -26,7 +26,7 @@ public:
|
|||
|
||||
InfoView(QQuickItem* parent = nullptr);
|
||||
QUrl url();
|
||||
void setUrl(const QUrl & url);
|
||||
void setUrl(const QUrl& url);
|
||||
|
||||
signals:
|
||||
void urlChanged();
|
||||
|
|
Loading…
Reference in a new issue