Verified Commit e72d6cb3 authored by ivan tkachenko's avatar ivan tkachenko
Browse files

Use JavaScript strict equality ===

parent acbe4aec
Pipeline #190369 passed with stage
in 1 minute and 24 seconds
......@@ -44,7 +44,7 @@ Labs.MenuBar {
configFile: "plasma-systemmonitor.knsrc"
pageStack: app.pageStack.layers
onEntryEvent: {
if (event == NewStuff.Engine.StatusChangedEvent) {
if (event === NewStuff.Engine.StatusChangedEvent) {
pagesModel.ghnsEntryStatusChanged(entry)
}
}
......
......@@ -24,7 +24,7 @@ Kirigami.ApplicationWindow {
title: pageStack.currentItem.title
header: contentItem.GraphicsInfo.api == GraphicsInfo.Software ? degradedWarning.createObject(app) : null
header: contentItem.GraphicsInfo.api === GraphicsInfo.Software ? degradedWarning.createObject(app) : null
Loader {
active: !Kirigami.Settings.isMobile
......@@ -92,7 +92,7 @@ Kirigami.ApplicationWindow {
configFile: "plasma-systemmonitor.knsrc"
pageStack: app.pageStack.layers
onEntryEvent: {
if (event == NewStuff.Engine.StatusChangedEvent) {
if (event === NewStuff.Engine.StatusChangedEvent) {
pagesModel.ghnsEntryStatusChanged(entry)
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment