mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16: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 );
|
setValue( "ui/notifications/verbose", notifications );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool
|
bool
|
||||||
TomahawkSettings::menuBarVisible() const
|
TomahawkSettings::menuBarVisible() const
|
||||||
{
|
{
|
||||||
@@ -939,6 +940,7 @@ TomahawkSettings::menuBarVisible() const
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
TomahawkSettings::setMenuBarVisible( bool visible )
|
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
|
bool
|
||||||
TomahawkSettings::showOfflineSources() const
|
TomahawkSettings::showOfflineSources() const
|
||||||
{
|
{
|
||||||
|
@@ -79,6 +79,9 @@ public:
|
|||||||
bool menuBarVisible() const;
|
bool menuBarVisible() const;
|
||||||
void setMenuBarVisible( bool visible );
|
void setMenuBarVisible( bool visible );
|
||||||
|
|
||||||
|
bool fullscreenEnabled() const;
|
||||||
|
void setFullscreenEnabled( bool fullscreen );
|
||||||
|
|
||||||
// Collection Stuff
|
// Collection Stuff
|
||||||
bool showOfflineSources() const;
|
bool showOfflineSources() const;
|
||||||
void setShowOfflineSources( bool show );
|
void setShowOfflineSources( bool show );
|
||||||
|
Reference in New Issue
Block a user