Submitted By: Uwe Düffert (lfs at uwe-dueffert dot de)
Date: 2005-02-05
Initial Package Version: 
Origin: self-created, http://www.uwe-dueffert.de/lfs/ownpatches/lincvs-1.3.0-rc1-qt-1.patch
Upstream Status: not reported
Description: allow compilation with current qt
 
diff -Naur lincvs-1.3.0-rc1.orig/src/HistoryDialogImpl.cpp lincvs-1.3.0-rc1/src/HistoryDialogImpl.cpp
--- lincvs-1.3.0-rc1.orig/src/HistoryDialogImpl.cpp	2003-10-15 19:39:33.000000000 +0000
+++ lincvs-1.3.0-rc1/src/HistoryDialogImpl.cpp	2005-02-05 13:51:56.424019344 +0000
@@ -267,7 +267,7 @@
   if (failed) return;
   switch( cmd) {
      case EDIT_REVISION_CMD: {
-	 setPermission(QFile(tmpViewFileName),READABLE);//don't think you could change the file
+	 setPermission(tmpViewFileName,READABLE);//don't think you could change the file
 	 emit editFile(tmpViewFileName);
 	 break;
      }
diff -Naur lincvs-1.3.0-rc1.orig/src/LogDialogImpl.cpp lincvs-1.3.0-rc1/src/LogDialogImpl.cpp
--- lincvs-1.3.0-rc1.orig/src/LogDialogImpl.cpp	2003-10-15 20:56:45.000000000 +0000
+++ lincvs-1.3.0-rc1/src/LogDialogImpl.cpp	2005-02-05 13:51:56.425019192 +0000
@@ -798,7 +798,7 @@
        break;
      }
      case EDIT_REVISION_CMD: {
-       setPermission(QFile(m_tmpDiffFileNameA),READABLE);//don't think you could change the file
+       setPermission(m_tmpDiffFileNameA,READABLE);//don't think you could change the file
        emit editFile(m_tmpDiffFileNameA);
        break;
      }

