/* Do we want anoying popups or not */
b_notificationEnabled = var_InheritBool( p_intf, "qt-notification" );
+ b_pauseOnMinimize = var_InheritBool( p_intf, "qt-pause-minimized" );
+
/* Set the other interface settings */
settings = getSettings();
settings->beginGroup( "MainWindow" );
b_hasPausedWhenMinimized = false;
if( THEMIM->getIM()->playingStatus() == PLAYING_S &&
- THEMIM->getIM()->hasVideo() &&
- !THEMIM->getIM()->hasVisualisation() &&
- var_InheritBool( p_intf, "qt-pause-minimized" ) )
+ THEMIM->getIM()->hasVideo() && !THEMIM->getIM()->hasVisualisation() &&
+ b_pauseOnMinimize )
{
b_hasPausedWhenMinimized = true;
THEMIM->pause();
bool b_hideAfterCreation;
bool b_minimalView; ///< Minimal video
bool b_interfaceFullScreen;
+ bool b_pauseOnMinimize;
/* States */
bool playlistVisible; ///< Is the playlist visible ?