diff options
| author | Wladimir J. van der Laan <[email protected]> | 2017-03-01 17:05:50 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2017-04-03 12:32:32 +0200 |
| commit | bac5c9cf643e9333479ac667426d0b70f8f3aa7f (patch) | |
| tree | 5fc0eac69ace5d21c1a1b40e6b610058b92a4bd7 /src/qt/guiutil.h | |
| parent | Replace includes of boost/filesystem.h with fs.h (diff) | |
| download | discoin-bac5c9cf643e9333479ac667426d0b70f8f3aa7f.tar.xz discoin-bac5c9cf643e9333479ac667426d0b70f8f3aa7f.zip | |
Replace uses of boost::filesystem with fs
Step two in abstracting away boost::filesystem.
To repeat this, simply run:
```
git ls-files \*.cpp \*.h | xargs sed -i 's/boost::filesystem/fs/g'
```
Diffstat (limited to 'src/qt/guiutil.h')
| -rw-r--r-- | src/qt/guiutil.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/guiutil.h b/src/qt/guiutil.h index afe216615..f95677015 100644 --- a/src/qt/guiutil.h +++ b/src/qt/guiutil.h @@ -182,10 +182,10 @@ namespace GUIUtil void restoreWindowGeometry(const QString& strSetting, const QSize &defaultSizeIn, QWidget *parent); /* Convert QString to OS specific boost path through UTF-8 */ - boost::filesystem::path qstringToBoostPath(const QString &path); + fs::path qstringToBoostPath(const QString &path); /* Convert OS specific boost path to QString through UTF-8 */ - QString boostPathToQString(const boost::filesystem::path &path); + QString boostPathToQString(const fs::path &path); /* Convert seconds into a QString with days, hours, mins, secs */ QString formatDurationStr(int secs); |