mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-02 07:35:12 +00:00
Revert "Use gtk clipboard when available to avoid https://bugreports.qt.io/browse/QTBUG-56595"
Fixed in Qt by https://codereview.qt-project.org/c/qt/qtbase/+/306771
This reverts commit 3a91003eea
.
This commit is contained in:
@@ -513,14 +513,6 @@ QString GetIconName() {
|
||||
return Result;
|
||||
}
|
||||
|
||||
QImage GetImageFromClipboard() {
|
||||
if (const auto integration = GtkIntegration::Instance()) {
|
||||
return integration->getImageFromClipboard();
|
||||
}
|
||||
|
||||
return {};
|
||||
}
|
||||
|
||||
std::optional<bool> IsDarkMode() {
|
||||
return Core::App().settings().systemDarkMode();
|
||||
}
|
||||
|
Reference in New Issue
Block a user