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