mirror of
https://gitee.com/spark-store-project/spark-web-app-runtime.git
synced 2025-12-15 03:22:05 +08:00
Improve Features
Using DDesktopServices::showFileItem() instead of calling dde-file-manager directly in QProcess; Delete useless QDebug info and headers include.
This commit is contained in:
@@ -164,8 +164,7 @@ int main(int argc, char *argv[])
|
||||
szCfgFile = parser.value(optCfgFile);
|
||||
if (!szCfgFile.isEmpty())
|
||||
{
|
||||
QFileInfo fi(szCfgFile);
|
||||
if (fi.exists())
|
||||
if (QFileInfo(szCfgFile).exists())
|
||||
{
|
||||
QSettings settings(szCfgFile, QSettings::IniFormat);
|
||||
szTitle = settings.value("SparkWebAppRuntime/Title", DEFAULT_TITLE).toString();
|
||||
|
||||
Reference in New Issue
Block a user