┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/revisioncontrolplugin.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2009-08-01 18:33:12 +0000
committerPeter Penz <[email protected]>2009-08-01 18:33:12 +0000
commit22718cef13818ab97d745530bb2b4a6826053520 (patch)
treed9c805dda89b904c57d5b144f2e875a60d9d5b2a /src/revisioncontrolplugin.h
parent0706af30c0e08c105e86d49f310f9f0e0f13c3e6 (diff)
Use QTemporaryFile instead of QFile. This assures an automatic deleting of the file and works reliable on multiuser system. Thanks to André Wöbbeking for the hint!
svn path=/trunk/KDE/kdebase/apps/; revision=1005674
Diffstat (limited to 'src/revisioncontrolplugin.h')
-rw-r--r--src/revisioncontrolplugin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/revisioncontrolplugin.h b/src/revisioncontrolplugin.h
index b72968504..d9767cf74 100644
--- a/src/revisioncontrolplugin.h
+++ b/src/revisioncontrolplugin.h
@@ -166,6 +166,7 @@ signals:
#include <kfileitem.h>
#include <QHash>
+#include <QTemporaryFile>
class LIBDOLPHINPRIVATE_EXPORT SubversionPlugin : public RevisionControlPlugin
{
@@ -225,6 +226,8 @@ private:
QString m_contextDir;
KFileItemList m_contextItems;
+
+ QTemporaryFile m_tempFile;
};
#endif // REVISIONCONTROLPLUGIN_H