mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Fix spaces on ends of lines
This commit is contained in:
@@ -32,7 +32,7 @@ public:
|
||||
const QString &filter,
|
||||
FileDialogType type,
|
||||
QString startFile) const;
|
||||
|
||||
|
||||
[[nodiscard]] bool showOpenWithDialog(const QString &filepath) const;
|
||||
|
||||
[[nodiscard]] QImage getImageFromClipboard() const;
|
||||
|
@@ -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);
|
||||
}
|
||||
|
||||
|
@@ -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); });
|
||||
}
|
||||
|
||||
|
@@ -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"));
|
||||
}
|
||||
|
Reference in New Issue
Block a user