1.1 --- a/mainwindow.cpp Thu Aug 31 11:55:33 2006 +0000
1.2 +++ b/mainwindow.cpp Thu Aug 31 12:51:20 2006 +0000
1.3 @@ -162,7 +162,13 @@
1.4
1.5
1.6 // Create unique temporary directory
1.7 - tmpVymDir=makeUniqueDir ("/tmp/vym-XXXXXX");
1.8 + bool ok;
1.9 + tmpVymDir=makeUniqueDir (ok,"/tmp/vym-XXXXXX");
1.10 + if (!ok)
1.11 + {
1.12 + qWarning ("Mainwindow: Could not create temporary directory, failed to start vym");
1.13 + exit (1);
1.14 + }
1.15
1.16 // Create direcctory for clipboard
1.17 clipboardDir=tmpVymDir+"/clipboard";