diff --git a/companion/src/companion.cpp b/companion/src/companion.cpp index a32999ed2..3e8b17c65 100644 --- a/companion/src/companion.cpp +++ b/companion/src/companion.cpp @@ -101,7 +101,13 @@ int main(int argc, char *argv[]) g.profile[g.id()].fwName(""); } - QPixmap pixmap = QPixmap(g.profile[g.id()].fwType().contains("taranis") ? ":/images/splasht.png" : ":/images/splash.png"); + QString splashScreen; + if ( g.profile[g.id()].fwType().contains("taranis")) splashScreen = ":/images/splasht.png"; + else if ( g.profile[g.id()].fwType().contains("9xrpro")) splashScreen = ":/images/splashp.png"; + else if ( g.profile[g.id()].fwType().contains("9xr")) splashScreen = ":/images/splashr.png"; + else splashScreen = ":/images/splash.png"; + + QPixmap pixmap = QPixmap(splashScreen); QSplashScreen *splash = new QSplashScreen(pixmap); RegisterEepromInterfaces(); diff --git a/companion/src/companion.qrc b/companion/src/companion.qrc index a9aa2df9c..1a842d240 100644 --- a/companion/src/companion.qrc +++ b/companion/src/companion.qrc @@ -40,6 +40,8 @@ images/9xcursphoto.png images/screenshot.png images/splash.png + images/splashp.png + images/splashr.png images/splasht.png images/companion-title.png images/maps.png diff --git a/companion/src/images/splashp.png b/companion/src/images/splashp.png new file mode 100644 index 000000000..883817d54 Binary files /dev/null and b/companion/src/images/splashp.png differ diff --git a/companion/src/images/splashr.png b/companion/src/images/splashr.png new file mode 100644 index 000000000..85da91e5b Binary files /dev/null and b/companion/src/images/splashr.png differ