Little fixes.

--HG--
branch : develop
This commit is contained in:
dismine 2014-02-19 18:26:03 +02:00
parent a615703f0b
commit f07ca60ff7
2 changed files with 10 additions and 2 deletions

View File

@ -94,7 +94,15 @@ int main(int argc, char *argv[])
app.installTranslator(&qtTranslator);
QTranslator appTranslator;
#ifdef Q_OS_WIN32
appTranslator.load("valentina_" + checkedLocale, "."+translationsPath);
#else
#ifdef QT_DEBUG
appTranslator.load("valentina_" + checkedLocale, "."+translationsPath);
#else
appTranslator.load("valentina_" + checkedLocale, translationsPath);
#endif
#endif
app.installTranslator(&appTranslator);
MainWindow w;

View File

@ -186,7 +186,7 @@ void TableWindow::saveScene()
QString sf;
// the save function
QString dir = QDir::homePath()+fileName;
QString dir = QDir::homePath()+"/"+fileName;
QString name = QFileDialog::getSaveFileName(this, tr("Save layout"), dir, saveMessage, &sf);
if (name.isEmpty())