@@ -487,7 +487,7 @@ bool hasEntryData(const QAbstractItemView *view, int column, int role)
487
487
488
488
QString getDefaultDataDirectory ()
489
489
{
490
- return boostPathToQString (GetDefaultDataDir ());
490
+ return PathToQString (GetDefaultDataDir ());
491
491
}
492
492
493
493
QString getSaveFileName (QWidget *parent, const QString &caption, const QString &dir,
@@ -624,7 +624,7 @@ void openDebugLogfile()
624
624
625
625
/* Open debug.log with the associated application */
626
626
if (fs::exists (pathDebug))
627
- QDesktopServices::openUrl (QUrl::fromLocalFile (boostPathToQString (pathDebug)));
627
+ QDesktopServices::openUrl (QUrl::fromLocalFile (PathToQString (pathDebug)));
628
628
}
629
629
630
630
void openConfigfile ()
@@ -634,9 +634,9 @@ void openConfigfile()
634
634
/* Open dash.conf with the associated application */
635
635
if (fs::exists (pathConfig)) {
636
636
// Workaround for macOS-specific behavior; see #15409.
637
- if (!QDesktopServices::openUrl (QUrl::fromLocalFile (boostPathToQString (pathConfig)))) {
637
+ if (!QDesktopServices::openUrl (QUrl::fromLocalFile (PathToQString (pathConfig)))) {
638
638
#ifdef Q_OS_MAC
639
- QProcess::startDetached (" /usr/bin/open" , QStringList{" -t" , boostPathToQString (pathConfig)});
639
+ QProcess::startDetached (" /usr/bin/open" , QStringList{" -t" , PathToQString (pathConfig)});
640
640
#endif
641
641
return ;
642
642
}
@@ -649,7 +649,7 @@ void showBackups()
649
649
650
650
/* Open folder with default browser */
651
651
if (fs::exists (backupsDir))
652
- QDesktopServices::openUrl (QUrl::fromLocalFile (boostPathToQString (backupsDir)));
652
+ QDesktopServices::openUrl (QUrl::fromLocalFile (PathToQString (backupsDir)));
653
653
}
654
654
655
655
ToolTipToRichTextFilter::ToolTipToRichTextFilter (int _size_threshold, QObject *parent) :
@@ -1636,12 +1636,12 @@ void setClipboard(const QString& str)
1636
1636
}
1637
1637
}
1638
1638
1639
- fs::path qstringToBoostPath (const QString &path)
1639
+ fs::path QStringToPath (const QString &path)
1640
1640
{
1641
1641
return fs::path (path.toStdString ());
1642
1642
}
1643
1643
1644
- QString boostPathToQString (const fs::path &path)
1644
+ QString PathToQString (const fs::path &path)
1645
1645
{
1646
1646
return QString::fromStdString (path.string ());
1647
1647
}
0 commit comments