Added spalsh screens for 9xr and 9xrpro
This commit is contained in:
@@ -101,7 +101,13 @@ int main(int argc, char *argv[])
|
|||||||
g.profile[g.id()].fwName("");
|
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);
|
QSplashScreen *splash = new QSplashScreen(pixmap);
|
||||||
|
|
||||||
RegisterEepromInterfaces();
|
RegisterEepromInterfaces();
|
||||||
|
|||||||
@@ -40,6 +40,8 @@
|
|||||||
<file>images/9xcursphoto.png</file>
|
<file>images/9xcursphoto.png</file>
|
||||||
<file>images/screenshot.png</file>
|
<file>images/screenshot.png</file>
|
||||||
<file>images/splash.png</file>
|
<file>images/splash.png</file>
|
||||||
|
<file>images/splashp.png</file>
|
||||||
|
<file>images/splashr.png</file>
|
||||||
<file>images/splasht.png</file>
|
<file>images/splasht.png</file>
|
||||||
<file>images/companion-title.png</file>
|
<file>images/companion-title.png</file>
|
||||||
<file>images/maps.png</file>
|
<file>images/maps.png</file>
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 110 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 109 KiB |
Reference in New Issue
Block a user