mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kdecore: look for root executables in build prefix directory
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
76765eee7d
commit
502fefe674
1 changed files with 1 additions and 1 deletions
|
@ -1177,7 +1177,7 @@ QString KStandardDirs::findRootExe( const QString& appname,
|
|||
<< QLatin1String("/sbin")
|
||||
<< QLatin1String("/usr/sbin")
|
||||
<< QLatin1String("/usr/local/sbin")
|
||||
<< QLatin1String("/usr/pkg/sbin"); // NetBSD
|
||||
<< QLatin1String(KDEDIR "/sbin");
|
||||
|
||||
foreach (const QString &rootPath, rootPaths) {
|
||||
if (exePaths.contains(rootPath) || !QDir(rootPath).exists()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue