Revert "[branding] adopt the enum names as keys"
This reverts commit 73e4c46756
.
This commit is contained in:
parent
73e4c46756
commit
e99d0bc081
@ -180,10 +180,10 @@ images:
|
||||
# branding component also ships a stylesheet.qss. Then they are
|
||||
# the corresponding CSS attributes of #sidebarApp.
|
||||
style:
|
||||
SidebarBackground: "#263238"
|
||||
SidebarText: "#efefef"
|
||||
SidebarTextCurrent: "#4d915e"
|
||||
SidebarTextHighlight: "#1a1c1b"
|
||||
sidebarBackground: "#263238"
|
||||
sidebarText: "#efefef"
|
||||
sidebarTextSelect: "#4d915e"
|
||||
sidebarTextHighlight: "#1a1c1b"
|
||||
|
||||
|
||||
### SLIDESHOW
|
||||
|
@ -269,11 +269,10 @@ CalamaresApplication::initViewSteps()
|
||||
{
|
||||
cDebug() << "STARTUP: loadModules for all modules done";
|
||||
m_moduleManager->checkRequirements();
|
||||
if ( Calamares::Branding::instance()->windowFullscreen() )
|
||||
if ( Calamares::Branding::instance()->windowMaximize() )
|
||||
{
|
||||
m_mainwindow->setWindowFlag( Qt::FramelessWindowHint );
|
||||
m_mainwindow->setWindowFlag( Qt::WindowStaysOnTopHint );
|
||||
m_mainwindow->showFullscreen();
|
||||
m_mainwindow->showMaximized();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -219,7 +219,7 @@ public:
|
||||
|
||||
bool welcomeStyleCalamares() const { return m_welcomeStyleCalamares; }
|
||||
bool welcomeExpandingLogo() const { return m_welcomeExpandingLogo; }
|
||||
bool windowFullscreen() const { return m_windowExpansion == WindowExpansion::Fullscreen; }
|
||||
bool windowMaximize() const { return m_windowExpansion == WindowExpansion::Fullscreen; }
|
||||
bool windowExpands() const { return m_windowExpansion != WindowExpansion::Fixed; }
|
||||
QPair< WindowDimension, WindowDimension > windowSize() const
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user