Small patch for 1.4
Harald Fernengel
harry at bnro.de
Mon Apr 30 11:23:21 UTC 2001
Hello,
this tiny patch for KDEVELOP_1_4 shows you which file couldn't be written in
case it was write-protected. Please apply, because if autosave fails you have
no idea on which file it failed.
Thanks,
Harry
-------------- next part --------------
Index: kwview.cpp
===================================================================
RCS file: /home/kde/kdevelop/kdevelop/kwrite/Attic/kwview.cpp,v
retrieving revision 1.9.2.19.2.34
diff -u -3 -p -r1.9.2.19.2.34 kwview.cpp
--- kwview.cpp 2001/04/18 08:58:05 1.9.2.19.2.34
+++ kwview.cpp 2001/04/30 10:36:13
@@ -1669,7 +1669,7 @@ bool KWrite::writeFile(const QString& na
QFileInfo info(name);
if(info.exists() && !info.isWritable()) {
- KMessageBox::sorry(this, i18n("You do not have write permission to this file"));
+ KMessageBox::sorry(this, i18n("You do not have write permission to this file:\n" + name));
return false;
}
More information about the KDevelop-devel
mailing list