automotive example: Only use two specially created skins

... because the default skins do not have hints for e.g. the speedometer.

Also, display the speedometer page by default.
This commit is contained in:
Peter Hartmann 2018-05-07 16:38:37 +02:00
parent 847500fb7c
commit 4d2bc5bfec
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@
#include <QDate> #include <QDate>
#include <QImage> #include <QImage>
#define SPEEDO 0 #define SPEEDO 1
MainWindow::MainWindow() MainWindow::MainWindow()
{ {

View File

@ -16,7 +16,7 @@
QStringList SkinFactory::skinNames() const QStringList SkinFactory::skinNames() const
{ {
return { "DefaultSkin", "OtherSkin", "SquiekSkin", "MaterialSkin" }; return { "DefaultSkin", "OtherSkin" };
} }
QskSkin* SkinFactory::createSkin( const QString& skinName ) QskSkin* SkinFactory::createSkin( const QString& skinName )