refactoring
This commit is contained in:
parent
3fb5be5a74
commit
eddcbf620a
2 changed files with 2 additions and 3 deletions
|
|
@ -68,7 +68,6 @@ Item{
|
||||||
stepSize: 1
|
stepSize: 1
|
||||||
value: musicModel.pAudioVolume
|
value: musicModel.pAudioVolume
|
||||||
onValueChanged: {
|
onValueChanged: {
|
||||||
console.log(musicModel.pAudioVolume, value);
|
|
||||||
musicModel.pAudioVolume = value;
|
musicModel.pAudioVolume = value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ class NavigationController : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
NavigationController(QObject *parent = Q_NULLPTR);
|
explicit NavigationController(QObject *parent = nullptr);
|
||||||
|
|
||||||
void init(const QString & rootPath);
|
void init(const QString & rootPath);
|
||||||
|
|
||||||
|
|
@ -32,7 +32,7 @@ private:
|
||||||
|
|
||||||
QString mRootPath = ".";
|
QString mRootPath = ".";
|
||||||
|
|
||||||
QQmlContext* mContext = Q_NULLPTR;
|
QQmlContext* mContext = nullptr;
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void onNavigationRequest();
|
void onNavigationRequest();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue