[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdeaddons/kate/xmlcheck
From: Christoph Cullmann <crossfire () babylon2k ! de>
Date: 2004-08-21 15:56:03
Message-ID: 20040821155603.CF41C8EB3 () office ! kde ! org
[Download RAW message or body]
CVS commit by cullmann:
use standard prefix for the tmp file, fix bug 82560
M +9 -9 plugin_katexmlcheck.cpp 1.18
--- kdeaddons/kate/xmlcheck/plugin_katexmlcheck.cpp #1.17:1.18
@@ -284,10 +284,10 @@ bool PluginKateXMLCheckView::slotValidat
}
Kate::Document *doc = (Kate::Document*)kv->document();
- KURL url(doc->url());
- m_tmp_file = new KTempFile(url.path());
+
+ m_tmp_file = new KTempFile();
if( m_tmp_file->status() != 0 ) {
kdDebug() << "Error (slotValidate()): could not create '" << \
m_tmp_file->name() << "': " << m_tmp_file->status() << endl;
KMessageBox::error(0, i18n("<b>Error:</b> Could not create "
- "temporary file in '%1'.").arg(url.directory()));
+ "temporary file '%1'.").arg(m_tmp_file->name()));
return false;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic