Skip to content

Commit 56530c7

Browse files
committed
fix: [GPU] The max resolution and min resolution show error.
-- Show 'x' not show 'X'. Log: fix issue Bug: https://pms.uniontech.com/bug-view-323421.html
1 parent 7f7dc01 commit 56530c7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

deepin-devicemanager/src/Tool/ThreadExecXrandr.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,8 @@ void ThreadExecXrandr::getResolutionFromDBus(QMap<QString, QString> &lstMap)
337337
}
338338

339339
if (maxResolutionWidth != -1) {
340-
lstMap.insert("maxResolution", QString("%1×%2").arg(maxResolutionWidth).arg(maxResolutionHeight));
341-
lstMap.insert("minResolution", QString("%1×%2").arg(minResolutionWidth).arg(minResolutionHeight));
340+
lstMap.insert("maxResolution", QString("%1 x %2").arg(maxResolutionWidth).arg(maxResolutionHeight));
341+
lstMap.insert("minResolution", QString("%1 x %2").arg(minResolutionWidth).arg(minResolutionHeight));
342342
}
343343
}
344344

0 commit comments

Comments
 (0)