blob: 99cf44db1e0e590d0269f19e5d1d42a01ac0f4be (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
--- src/HistoryDialogImpl.cpp.orig Fri Aug 20 10:48:34 2004
+++ src/HistoryDialogImpl.cpp Fri Aug 20 10:56:13 2004
@@ -268,7 +268,8 @@
if (failed) return;
switch( cmd) {
case EDIT_REVISION_CMD: {
- setPermission(QFile(tmpViewFileName),READABLE);//don't think you could change the file
+ QFile tmpFile(tmpViewFileName);
+ setPermission(tmpFile, READABLE);//don't think you could change the file
emit editFile(tmpViewFileName);
break;
}
|