mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-01 02:43:41 +00:00
Allow using PrimeHack for QuickPlay
This commit is contained in:
parent
e5d1678ff6
commit
14432a870d
@ -324,7 +324,7 @@ bool SetDolphinPath(QWidget* pParentWidget, const QString& kDolphinPath, bool bS
|
||||
// Dolphin unfortunately collide's with KDE Plasma's file manager which also happens to be named "Dolphin"
|
||||
// Fortunately the latter uses a lowercase name so we can differentiate.
|
||||
QStringList VersionParts = VersionString.split(' ');
|
||||
if (VersionParts.count() != 2 || VersionParts[0] != "Dolphin")
|
||||
if (VersionParts.count() < 2 || (VersionParts[0] != "Dolphin" && VersionParts[0] != "PrimeHack"))
|
||||
{
|
||||
if (!bSilent)
|
||||
{
|
||||
@ -333,7 +333,7 @@ bool SetDolphinPath(QWidget* pParentWidget, const QString& kDolphinPath, bool bS
|
||||
return false;
|
||||
}
|
||||
|
||||
debugf("Found dolphin version %s", *TO_TSTRING(VersionParts[1]));
|
||||
debugf("Found %s version %s", *TO_TSTRING(VersionParts.first()), *TO_TSTRING(VersionParts.last()));
|
||||
|
||||
// Build is legit, stash it
|
||||
QSettings Settings;
|
||||
|
Loading…
x
Reference in New Issue
Block a user