2
0
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:
Ilya Fedin
2021-08-10 17:15:05 +04:00
committed by John Preston
parent ea3191badf
commit 414456d003
14 changed files with 5 additions and 241 deletions

View File

@@ -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();
}