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);
|
app.installTranslator(&qtTranslator);
|
||||||
|
|
||||||
QTranslator appTranslator;
|
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);
|
appTranslator.load("valentina_" + checkedLocale, translationsPath);
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
app.installTranslator(&appTranslator);
|
app.installTranslator(&appTranslator);
|
||||||
|
|
||||||
MainWindow w;
|
MainWindow w;
|
||||||
|
|
|
@ -186,7 +186,7 @@ void TableWindow::saveScene()
|
||||||
|
|
||||||
QString sf;
|
QString sf;
|
||||||
// the save function
|
// the save function
|
||||||
QString dir = QDir::homePath()+fileName;
|
QString dir = QDir::homePath()+"/"+fileName;
|
||||||
QString name = QFileDialog::getSaveFileName(this, tr("Save layout"), dir, saveMessage, &sf);
|
QString name = QFileDialog::getSaveFileName(this, tr("Save layout"), dir, saveMessage, &sf);
|
||||||
|
|
||||||
if (name.isEmpty())
|
if (name.isEmpty())
|
||||||
|
|
Loading…
Reference in New Issue
Block a user