Fix spaces on ends of lines

This commit is contained in:
Ilya Fedin 2021-03-04 19:29:01 +04:00 committed by John Preston
parent 23272430b4
commit 092b6e7c18
4 changed files with 11 additions and 11 deletions

View File

@ -32,7 +32,7 @@ public:
const QString &filter,
FileDialogType type,
QString startFile) const;
[[nodiscard]] bool showOpenWithDialog(const QString &filepath) const;
[[nodiscard]] QImage getImageFromClipboard() const;

View File

@ -887,7 +887,7 @@ void MainWindow::updateIconCounters() {
dbusUnityProperties["count-visible"] =
Glib::Variant<bool>::create(true);
} else {
dbusUnityProperties["count-visible"] =
dbusUnityProperties["count-visible"] =
Glib::Variant<bool>::create(false);
}

View File

@ -109,7 +109,7 @@ void GetServerInformation(
LOG(("Native Notification Error: %1").arg(
QString::fromStdString(e.what())));
}
crl::on_main([=] { callback({}); });
},
std::string(kService));
@ -119,7 +119,7 @@ void GetServerInformation(
LOG(("Native Notification Error: %1").arg(
QString::fromStdString(e.what())));
}
crl::on_main([=] { callback(std::nullopt); });
}
@ -156,7 +156,7 @@ void GetCapabilities(Fn<void(const QStringList &)> callback) {
LOG(("Native Notification Error: %1").arg(
QString::fromStdString(e.what())));
}
crl::on_main([=] { callback({}); });
},
std::string(kService));
@ -166,7 +166,7 @@ void GetCapabilities(Fn<void(const QStringList &)> callback) {
LOG(("Native Notification Error: %1").arg(
QString::fromStdString(e.what())));
}
crl::on_main([=] { callback({}); });
}
@ -204,7 +204,7 @@ void GetInhibitionSupported(Fn<void(bool)> callback) {
QString::fromStdString(e.what())));
}
}
crl::on_main([=] { callback(false); });
},
std::string(kService));
@ -214,7 +214,7 @@ void GetInhibitionSupported(Fn<void(bool)> callback) {
LOG(("Native Notification Error: %1").arg(
QString::fromStdString(e.what())));
}
crl::on_main([=] { callback(false); });
}

View File

@ -99,7 +99,7 @@ PortalAutostart::PortalAutostart(bool start, bool silent) {
if (const auto activeWindow = Core::App().activeWindow()) {
if (IsX11()) {
result
<< "x11:"
<< "x11:"
<< std::hex
<< activeWindow
->widget()
@ -139,7 +139,7 @@ PortalAutostart::PortalAutostart(bool start, bool silent) {
+ uniqueName
+ '/'
+ handleToken;
QEventLoop loop;
const auto signalId = connection->signal_subscribe(
@ -155,7 +155,7 @@ PortalAutostart::PortalAutostart(bool start, bool silent) {
const auto response = base::Platform::GlibVariantCast<
uint>(parametersCopy.get_child(0));
if (response && !silent) {
LOG(("Portal Autostart Error: Request denied"));
}