Skip to content

Commit

Permalink
fix(DPathBuf): missing default constructor
Browse files Browse the repository at this point in the history
Change-Id: I7dc95a342fb76f5de08171260219af84a6a20dcc
  • Loading branch information
justforlxz committed Dec 24, 2018
1 parent ba2d213 commit 74374cb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/filesystem/dpathbuf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,10 @@ DPathBuf::DPathBuf(const QString &path)
m_path = QDir(path).absolutePath();
}

DPathBuf::DPathBuf()
: DPathBuf(QString())
{

}

DCORE_END_NAMESPACE
1 change: 1 addition & 0 deletions src/filesystem/dpathbuf.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ DCORE_BEGIN_NAMESPACE
class LIBDTKCORESHARED_EXPORT DPathBuf
{
public:
DPathBuf();
DPathBuf(const QString &path);

/*!
Expand Down

0 comments on commit 74374cb

Please sign in to comment.