LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File smplayer-defaults.patch of Package smplayer (Project home:Ledest:misc)

--- a/src/preferences.cpp
+++ b/src/preferences.cpp
@@ -384,11 +384,7 @@ void Preferences::reset() {
 	resize_method = Never;
 
 #if STYLE_SWITCHING
-	#if QT_VERSION >= 0x050000
-	style = "Fusion";
-	#else
 	style="";
-	#endif
 #endif
 
 	center_window = false;
@@ -456,7 +452,7 @@ void Preferences::reset() {
 	allow_video_movement = false;
 
 	gui = "DefaultGUI";
-	iconset = "H2O";
+	iconset = "Papirus";
 
 
 #if USE_MINIMUMSIZE
@@ -614,7 +610,7 @@ void Preferences::reset() {
 
 #ifdef CHECK_UPGRADED
 	smplayer_stable_version = "";
-	check_if_upgraded = true;
+	check_if_upgraded = false;
 #endif
 #ifdef FONTCACHE_DIALOG
 	smplayer_version = "";
--- a/src/prefgeneral.cpp
+++ b/src/prefgeneral.cpp
@@ -574,6 +574,9 @@ void PrefGeneral::setVO( QString vo_driv
 }
 
 void PrefGeneral::setAO( QString ao_driver ) {
+	if (ao_driver.isEmpty())
+		ao_driver = "pulse,";
+
 	int idx = ao_combo->findData( ao_driver );
 	if (idx != -1) {
 		ao_combo->setCurrentIndex(idx);