+ // アーカイバ\r
+ if (settings.value(IniKey_PathArchiver, "").toString().isEmpty()) {\r
+#if defined(Q_OS_WIN)\r
+ if (QFileInfo::exists("C:/Program Files/Lhaplus/Lhaplus.exe")) {\r
+ settings.setValue(IniKey_PathArchiver, QQ("C:/Program Files/Lhaplus/Lhaplus.exe"));\r
+ }\r
+ else if (QFileInfo::exists("C:/Program Files/Lhaca/Lhaca.exe")) {\r
+ settings.setValue(IniKey_PathArchiver, QQ("C:/Program Files/Lhaca/Lhaca.exe"));\r
+ }\r
+ else if (QFileInfo.exists("C:/Program Files/7-zip/7zG.exe")) {\r
+ settings.setValue(IniKey_PathArchiver, QQ("C:/Program Files/7-zip/7zG.exe"));\r
+ }\r
+\r
+#elif defined(Q_OS_MAC)\r
+ if (QFileInfo::exists("/Applications/The Unarchiver.app")) {\r
+ settings.setValue(IniKey_PathArchiver, QQ("/Applications/The Unarchiver.app"));\r
+ }\r
+#else\r
+#endif\r
+ }\r
+\r