MCPcopy Index your code
hub / github.com/Audio4Linux/JDSP4Linux / getAutostartPath

Method getAutostartPath

src/utils/AutoStartManager.cpp:117–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117QString AutostartManager::getAutostartPath()
118{
119 QString path = QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation);
120 if(path.isEmpty())
121 {
122 path = QString("%1/.config/").arg(QDir::homePath());
123 }
124
125 return QString("%1/autostart/%2").arg(path, DESKTOP_FILE);
126}

Callers

nothing calls this directly

Calls 2

QStringClass · 0.50
isEmptyMethod · 0.45

Tested by

no test coverage detected