summaryrefslogblamecommitdiff
path: root/user/spectacle/qt5.9.patch
blob: aa830f86be5ddaef8239ded68b7a37d44b6a2ef4 (plain) (tree)






















                                                                                   
--- spectacle-19.04.0/CMakeLists.txt.old	2019-04-12 00:06:23.000000000 +0000
+++ spectacle-19.04.0/CMakeLists.txt	2019-04-18 22:57:10.598054362 +0000
@@ -11,7 +11,7 @@
 # Spectacle project
 project(Spectacle VERSION ${SPECTACLE_VERSION})
 
-set(QT_MIN_VERSION     "5.10.0")
+set(QT_MIN_VERSION     "5.9.0")
 set(KF5_MIN_VERSION    "5.53.0")
 set(PLASMA_MIN_VERSION "5.12.0")
 
--- spectacle-19.04.0/src/SpectacleCore.cpp.old	2019-04-11 07:37:14.000000000 +0000
+++ spectacle-19.04.0/src/SpectacleCore.cpp	2019-04-18 22:57:46.694193923 +0000
@@ -165,8 +165,7 @@
                 break;
             case Actions::StartNewInstance:
                 QProcess newInstance;
-                newInstance.setProgram(QStringLiteral("spectacle"));
-                newInstance.startDetached();
+                newInstance.startDetached(QStringLiteral("spectacle"));
                 break;
         }
     }