mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-23 01:09:42 +01:00
* TomahawkSettings can now store fullscreen mode.
This commit is contained in:
parent
18ebcc1156
commit
6736c69928
@ -929,6 +929,7 @@ TomahawkSettings::setVerboseNotifications( bool notifications )
|
||||
setValue( "ui/notifications/verbose", notifications );
|
||||
}
|
||||
|
||||
|
||||
bool
|
||||
TomahawkSettings::menuBarVisible() const
|
||||
{
|
||||
@ -939,6 +940,7 @@ TomahawkSettings::menuBarVisible() const
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
TomahawkSettings::setMenuBarVisible( bool visible )
|
||||
{
|
||||
@ -948,6 +950,20 @@ TomahawkSettings::setMenuBarVisible( bool visible )
|
||||
}
|
||||
|
||||
|
||||
bool
|
||||
TomahawkSettings::fullscreenEnabled() const
|
||||
{
|
||||
return value( "ui/mainwindow/fullscreenEnabled", false ).toBool();
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
TomahawkSettings::setFullscreenEnabled( bool enabled )
|
||||
{
|
||||
setValue( "ui/mainwindow/fullscreenEnabled", enabled );
|
||||
}
|
||||
|
||||
|
||||
bool
|
||||
TomahawkSettings::showOfflineSources() const
|
||||
{
|
||||
|
@ -79,6 +79,9 @@ public:
|
||||
bool menuBarVisible() const;
|
||||
void setMenuBarVisible( bool visible );
|
||||
|
||||
bool fullscreenEnabled() const;
|
||||
void setFullscreenEnabled( bool fullscreen );
|
||||
|
||||
// Collection Stuff
|
||||
bool showOfflineSources() const;
|
||||
void setShowOfflineSources( bool show );
|
||||
|
Loading…
x
Reference in New Issue
Block a user