diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-09-19 00:05:46 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-09-19 00:05:46 +0000 |
commit | cc24acfe4ce7c33801aeb362c8ac13ccf2dac2b4 (patch) | |
tree | 5615e599278a678ac233adcd437c8eed67070914 /user/spectacle/no-wayland.patch | |
parent | a7f03fc523db2f305ffd73220b12fb5a6bd2b3b6 (diff) | |
download | packages-cc24acfe4ce7c33801aeb362c8ac13ccf2dac2b4.tar.gz packages-cc24acfe4ce7c33801aeb362c8ac13ccf2dac2b4.tar.bz2 packages-cc24acfe4ce7c33801aeb362c8ac13ccf2dac2b4.tar.xz packages-cc24acfe4ce7c33801aeb362c8ac13ccf2dac2b4.zip |
user/[KDE Applications]: Update to 20.08.1
Diffstat (limited to 'user/spectacle/no-wayland.patch')
-rw-r--r-- | user/spectacle/no-wayland.patch | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/user/spectacle/no-wayland.patch b/user/spectacle/no-wayland.patch index 50c7cc8b7..300c50b8d 100644 --- a/user/spectacle/no-wayland.patch +++ b/user/spectacle/no-wayland.patch @@ -119,17 +119,16 @@ index 7024750..40417bb 100644 #include <KWindowSystem> #include <QApplication> -@@ -54,8 +51,7 @@ SpectacleCore::SpectacleCore(StartMode theStartMode, - mPlatform(loadPlatform()), +@@ -46,7 +46,6 @@ + QObject(parent), mMainWindow(nullptr), - mIsGuiInited(false), -- mCopyToClipboard(theCopyToClipboard), +- mIsGuiInited(false), - mWaylandPlasmashell(nullptr) -+ mCopyToClipboard(theCopyToClipboard) ++ mIsGuiInited(false) { - auto lConfig = KSharedConfig::openConfig(QStringLiteral("spectaclerc")); - KConfigGroup lGuiConfig(lConfig, "GuiConfig"); -@@ -92,24 +88,6 @@ SpectacleCore::SpectacleCore(StartMode theStartMode, + } + +@@ -66,23 +65,6 @@ connect(lExportManager, &ExportManager::forceNotify, this, &SpectacleCore::doNotify); connect(mPlatform.get(), &Platform::windowTitleChanged, lExportManager, &ExportManager::setWindowTitle); @@ -150,10 +149,9 @@ index 7024750..40417bb 100644 - registry->setup(); - connection->roundtrip(); - } -- - switch (theStartMode) { - case StartMode::DBus: - break; + setUpShortcuts(); + } + @@ -245,7 +223,7 @@ void SpectacleCore::screenshotUpdated(const QPixmap &thePixmap) if (lExportManager->captureMode() == Spectacle::CaptureMode::RectangularRegion) { |