[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/work/kbabel_svn/catalogmanager/libsvn
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2005-08-26 20:20:46
Message-ID: 1125087646.422848.30048.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 453682 by goutte:

Create the temp file as late as possible
(see for CVS revision 453680)


 M  +2 -3      svndialog.cpp  


--- branches/work/kbabel_svn/catalogmanager/libsvn/svndialog.cpp #453681:453682
@@ -205,9 +205,6 @@
     if ( autoAddBox->isChecked( ) && !_addCommand.isEmpty( ) )
       _commandLine.prepend( _addCommand );
 
-    m_tempFile = new KTempFile;
-    m_tempFile->setAutoDelete( true );
-
     const QString msg( logedit->text() );
 
     if ( msg.isEmpty() )
@@ -221,6 +218,8 @@
     }
 
     // Write the commit log message from the input field to a temporary file
+    m_tempFile = new KTempFile;
+    m_tempFile->setAutoDelete( true );
     QTextStream* stream = m_tempFile->textStream();
     if ( ! stream )
     {
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic