diff -r e95081c21da2 -r 73bfe41502d9 imports.cpp --- a/imports.cpp Tue Sep 05 09:47:14 2006 +0000 +++ b/imports.cpp Thu Sep 14 11:38:17 2006 +0000 @@ -14,11 +14,11 @@ ImportBase::ImportBase() { - // Create tmpdir - // FIXME not neededtmpDir.setPath (makeUniqueDir("/tmp/vym-XXXXXX")); - if (!tmpDir.cd ("tmp")) - qWarning ("Could not access temporary directory for export"); - // FIXME + bool ok; + tmpDir.setPath (makeUniqueDir(ok,"/tmp/vym-XXXXXX")); + if (!tmpDir.exists() || !ok) + QMessageBox::critical( 0, QObject::tr( "Error" ), + QObject::tr("Couldn't access temporary directory\n")); }