Little fixes.
--HG-- branch : develop
This commit is contained in:
parent
a615703f0b
commit
f07ca60ff7
|
@ -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;
|
||||
|
|
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue
Block a user