File shotcut-noupdatecheck.patch of Package shotcut

Index: src/mainwindow.cpp
===================================================================
--- src/mainwindow.cpp.orig	2017-05-02 21:22:35.000000000 +0200
+++ src/mainwindow.cpp	2017-05-04 11:36:05.920623513 +0200
@@ -1872,9 +1872,9 @@ void MainWindow::showEvent(QShowEvent* e
 
     windowHandle()->installEventFilter(this);
 
-    QAction* action = new QAction(tr("Click here to check for a new version of Shotcut."), 0);
-    connect(action, SIGNAL(triggered(bool)), SLOT(on_actionUpgrade_triggered()));
-    showStatusMessage(action, 10 /* seconds */);
+    //QAction* action = new QAction(tr("Click here to check for a new version of Shotcut."), 0);
+    //connect(action, SIGNAL(triggered(bool)), SLOT(on_actionUpgrade_triggered()));
+    //showStatusMessage(action, 10 /* seconds */);
 }
 
 void MainWindow::on_actionOpenOther_triggered()
@@ -2879,7 +2879,7 @@ void MainWindow::on_menuExternal_aboutTo
 void MainWindow::on_actionUpgrade_triggered()
 {
     showStatusMessage("Checking for upgrade...");
-    m_network.get(QNetworkRequest(QUrl("http://check.shotcut.org/version.json")));
+    m_network.get(QNetworkRequest(QUrl("file:///usr/share/shotcut/version.json")));
 }
 
 void MainWindow::on_actionOpenXML_triggered()
@@ -3011,7 +3011,7 @@ void MainWindow::onUpgradeCheckFinished(
                     m_upgradeUrl = json.object().value("url").toString();
                 showStatusMessage(action, 10 /* seconds */);
             } else {
-                showStatusMessage(tr("You are running the latest version of Shotcut."));
+                showStatusMessage(tr("Use Yast or zypper for updates."));
             }
             reply->deleteLater();
             return;
Index: src/src.pro
===================================================================
--- src/src.pro.orig	2017-05-02 21:22:35.000000000 +0200
+++ src/src.pro	2017-05-04 11:32:03.828104313 +0200
@@ -322,7 +322,7 @@ debug_and_release {
 LIBS += -lLogger -lmvcp -lpthread
 
 isEmpty(SHOTCUT_VERSION) {
-    !win32:SHOTCUT_VERSION = $$system(date "+%y.%m.%d")
+    !win32:SHOTCUT_VERSION = $$_VSTRING
      win32:SHOTCUT_VERSION = adhoc
 }
 DEFINES += SHOTCUT_VERSION=\\\"$$SHOTCUT_VERSION\\\"