Index: voicefile.cpp =================================================================== --- voicefile.cpp (revision 18363) +++ voicefile.cpp (working copy) @@ -43,7 +43,8 @@ // test if tempdir exists if(!QDir(QDir::tempPath()+"/rbvoice/").exists()) { - QDir(QDir::tempPath()).mkdir("rbvoice"); + QDir dir = QDir::tempPath(); + dir.mkdir("rbvoice"); } m_path = QDir::tempPath() + "/rbvoice/";