Commit 3149be35 authored by Yuri Chornoivan's avatar Yuri Chornoivan
Browse files

Fix minor typos

parent 18e6d755
...@@ -32,7 +32,7 @@ KCM.SimpleKCM { ...@@ -32,7 +32,7 @@ KCM.SimpleKCM {
ColumnLayout { ColumnLayout {
Kirigami.InlineMessage { Kirigami.InlineMessage {
// Note1: There is an implicit height binding loop error on // Note1: There is an implicit height binding loop error on
// first invokation. Seems to be an issue in Kirigami. // first invocation. Seems to be an issue in Kirigami.
// Note2: This should maybe go in header component of the KCM, // Note2: This should maybe go in header component of the KCM,
// but there seems to be another issue in Kirigami then // but there seems to be another issue in Kirigami then
// being always hidden. Compare Night Color KCM with // being always hidden. Compare Night Color KCM with
......
...@@ -170,7 +170,7 @@ void KScreenDaemon::applyKnownConfig() ...@@ -170,7 +170,7 @@ void KScreenDaemon::applyKnownConfig()
if (readInConfig) { if (readInConfig) {
doApplyConfig(std::move(readInConfig)); doApplyConfig(std::move(readInConfig));
} else { } else {
// loading not succesful, fall back to ideal config // loading not successful, fall back to ideal config
applyIdealConfig(); applyIdealConfig();
} }
} }
......
...@@ -427,7 +427,7 @@ void Generator::laptop(KScreen::OutputList &connectedOutputs) ...@@ -427,7 +427,7 @@ void Generator::laptop(KScreen::OutputList &connectedOutputs)
} }
qCDebug(KSCREEN_KDED) << "Lid is open"; qCDebug(KSCREEN_KDED) << "Lid is open";
//If lid is open, laptop screen shuold be primary //If lid is open, laptop screen should be primary
embedded->setPos(QPoint(0,0)); embedded->setPos(QPoint(0,0));
embedded->setPrimary(true); embedded->setPrimary(true);
embedded->setEnabled(true); embedded->setEnabled(true);
......
...@@ -151,7 +151,7 @@ OsdAction *OsdManager::showActionSelector() ...@@ -151,7 +151,7 @@ OsdAction *OsdManager::showActionSelector()
return; return;
} }
// Show selector on alll enabled screens // Show selector on all enabled screens
const auto outputs = op->config()->outputs(); const auto outputs = op->config()->outputs();
KScreen::OutputPtr osdOutput; KScreen::OutputPtr osdOutput;
for (const auto &output : outputs) { for (const auto &output : outputs) {
......
...@@ -212,7 +212,7 @@ void Output::adjustPositions(KScreen::ConfigPtr config, const QVariantList &outp ...@@ -212,7 +212,7 @@ void Output::adjustPositions(KScreen::ConfigPtr config, const QVariantList &outp
const int xCorrected = prevRight + prevGeo.width() * xInfoDiff / (double)prevInfoGeo.width(); const int xCorrected = prevRight + prevGeo.width() * xInfoDiff / (double)prevInfoGeo.width();
const int xDiff = curGeo.x() - prevRight; const int xDiff = curGeo.x() - prevRight;
// In the following calculate the y-coorection. This is more involved since we // In the following calculate the y-correction. This is more involved since we
// differentiate between overlapping and non-overlapping pairs and align either // differentiate between overlapping and non-overlapping pairs and align either
// top to top/bottom or bottom to top/bottom // top to top/bottom or bottom to top/bottom
const bool yOverlap = prevInfoGeo.y() + prevInfoGeo.height() > curInfoGeo.y() && const bool yOverlap = prevInfoGeo.y() + prevInfoGeo.height() > curInfoGeo.y() &&
...@@ -342,7 +342,7 @@ void Output::readInOutputs(KScreen::ConfigPtr config, const QVariantList &output ...@@ -342,7 +342,7 @@ void Output::readInOutputs(KScreen::ConfigPtr config, const QVariantList &output
break; break;
} }
if (!infoFound) { if (!infoFound) {
// no info in info for this output, try reading in global output info atleast or set some default values // no info in info for this output, try reading in global output info at least or set some default values
qCWarning(KSCREEN_KDED) << "\tFailed to find a matching output in the current info data - this means that our info is corrupted" qCWarning(KSCREEN_KDED) << "\tFailed to find a matching output in the current info data - this means that our info is corrupted"
"or a different device with the same serial number has been connected (very unlikely)."; "or a different device with the same serial number has been connected (very unlikely).";
......
...@@ -32,7 +32,7 @@ class KScreenApplet : public Plasma::Applet ...@@ -32,7 +32,7 @@ class KScreenApplet : public Plasma::Applet
Q_OBJECT Q_OBJECT
/** /**
* The number of currently connected (not neccessarily enabled) outputs * The number of currently connected (not necessarily enabled) outputs
*/ */
Q_PROPERTY(int connectedOutputCount READ connectedOutputCount NOTIFY connectedOutputCountChanged) Q_PROPERTY(int connectedOutputCount READ connectedOutputCount NOTIFY connectedOutputCountChanged)
......
...@@ -81,7 +81,7 @@ X-KDE-PluginInfo-Author=Kai Uwe Broulik ...@@ -81,7 +81,7 @@ X-KDE-PluginInfo-Author=Kai Uwe Broulik
X-KDE-PluginInfo-Email=kde@broulik.de X-KDE-PluginInfo-Email=kde@broulik.de
X-KDE-PluginInfo-Name=org.kde.kscreen X-KDE-PluginInfo-Name=org.kde.kscreen
X-KDE-PluginInfo-Version=1.0 X-KDE-PluginInfo-Version=1.0
X-KDE-PluginInfo-Website=http://plasma.kde.org/ X-KDE-PluginInfo-Website=https://kde.org/plasma-desktop
X-KDE-PluginInfo-Category=Utilities X-KDE-PluginInfo-Category=Utilities
X-KDE-PluginInfo-License=GPL X-KDE-PluginInfo-License=GPL
......
Markdown is supported
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