mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 22:26:32 +02:00
* TomahawkSettings can now store fullscreen mode.
This commit is contained in:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user