Skip to content
Snippets Groups Projects
Commit df5b62a1 authored by Mickael Savinaud's avatar Mickael Savinaud
Browse files

ENH: add qWarning about MANTIS-743

parent 72d45e0d
No related branches found
No related tags found
No related merge requests found
......@@ -482,6 +482,9 @@ I18nCoreApplication
if (!homeDir.exists())
SystemError( ToStdString( QString( "('%1')" ).arg( homeDir.path() ) ) );
if (homeDir.dirName() == I18nCoreApplication::DEFAULT_CACHE_DIR_NAME )
qWarning() << tr("The selected directory seems to be an previous mvd2 directory, nevertheless we will create a new mvd2 repository into the selected directory.") ;
//
// Create cache-dir.
bool isNew = I18nCoreApplication::MakeDirTree(
......
......@@ -306,6 +306,8 @@ I18nMainWindow
// Setup initial empty database
if( isNew )
DatabaseConnection::InitializeDatabase();
else
qWarning()<<tr("The selected directory already contain a mvd2 directory, no new database will be created");
}
/*****************************************************************************/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment