make sure scripts are executed sorted
This commit is contained in:
parent
5f767127c7
commit
7c6d8e8377
@ -677,6 +677,8 @@ QStringList ScriptEngine::defaultLayoutScripts()
|
|||||||
{
|
{
|
||||||
const QString appName = KGlobal::activeComponent().aboutData()->appName();
|
const QString appName = KGlobal::activeComponent().aboutData()->appName();
|
||||||
QStringList scripts = KGlobal::dirs()->findAllResources("data", appName + "/init/*.js");
|
QStringList scripts = KGlobal::dirs()->findAllResources("data", appName + "/init/*.js");
|
||||||
|
scripts.sort();
|
||||||
|
|
||||||
QStringList scriptPaths;
|
QStringList scriptPaths;
|
||||||
|
|
||||||
if (scripts.isEmpty()) {
|
if (scripts.isEmpty()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user