/[packages]/cauldron/pianobooster/current/SOURCES/0004-qttranslations.patch
ViewVC logotype

Contents of /cauldron/pianobooster/current/SOURCES/0004-qttranslations.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1362045 - (show annotations) (download)
Thu Jan 31 06:56:05 2019 UTC (5 years, 2 months ago) by alexl
File size: 662 byte(s)
- fix font path and add requires on font
- update desktop files
- do not install docs twice
- enable qt translations
1 diff -ur pianobooster-0.7.0-alpha-20190125.orig/src/QtMain.cpp pianobooster-0.7.0-alpha-20190125/src/QtMain.cpp
2 --- pianobooster-0.7.0-alpha-20190125.orig/src/QtMain.cpp 2019-01-25 00:52:08.000000000 +0300
3 +++ pianobooster-0.7.0-alpha-20190125/src/QtMain.cpp 2019-01-31 15:00:35.900988265 +0300
4 @@ -53,7 +53,9 @@
5
6 app.installTranslator(&translator);
7
8 -
9 + QTranslator qtTranslator;
10 + qtTranslator.load("qt_" + QLocale::system().name(), QLibraryInfo::location(QLibraryInfo::TranslationsPath));
11 + app.installTranslator(&qtTranslator);
12
13 if (!QGLFormat::hasOpenGL()) {
14 QMessageBox::information(0, QMessageBox::tr("OpenGL support"),

  ViewVC Help
Powered by ViewVC 1.1.30