80 |
: QApplication(argc, argv), |
: QApplication(argc, argv), |
81 |
m_pQtTranslator(nullptr), m_pMyTranslator(nullptr), m_pWidget(nullptr) |
m_pQtTranslator(nullptr), m_pMyTranslator(nullptr), m_pWidget(nullptr) |
82 |
{ |
{ |
83 |
|
#if QT_VERSION >= QT_VERSION_CHECK(5, 1, 0) |
84 |
|
QApplication::setApplicationName(QSAMPLER_TITLE); |
85 |
|
QApplication::setApplicationDisplayName( |
86 |
|
QSAMPLER_TITLE " - " + QObject::tr(QSAMPLER_SUBTITLE)); |
87 |
|
#endif |
88 |
// Load translation support. |
// Load translation support. |
89 |
QLocale loc; |
QLocale loc; |
90 |
if (loc.language() != QLocale::C) { |
if (loc.language() != QLocale::C) { |
463 |
::signal(SIGBUS, stacktrace); |
::signal(SIGBUS, stacktrace); |
464 |
#endif |
#endif |
465 |
#endif |
#endif |
|
qsamplerApplication app(argc, argv); |
|
466 |
#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0) |
#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0) |
467 |
app.setAttribute(Qt::AA_EnableHighDpiScaling); |
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); |
468 |
#endif |
#endif |
469 |
|
qsamplerApplication app(argc, argv); |
470 |
|
|
471 |
#if defined(__APPLE__) // Toshi Nagata 20080105 |
#if defined(__APPLE__) // Toshi Nagata 20080105 |
472 |
{ |
{ |
473 |
// Set the plugin path to @exetutable_path/../plugins |
// Set the plugin path to @exetutable_path/../plugins |