mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-09-03 01:42:20 +08:00
Fix issues about TitleBar
Fix a issue about titlebar display on Ubuntu.
This commit is contained in:
parent
9a3d32ee11
commit
44edb08518
@ -9,7 +9,7 @@
|
|||||||
DWIDGET_USE_NAMESPACE
|
DWIDGET_USE_NAMESPACE
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
// DApplication::loadDXcbPlugin(); // 让 bar 处在标题栏中
|
DApplication::loadDXcbPlugin(); // 让 bar 处在标题栏中
|
||||||
DApplication a(argc, argv);
|
DApplication a(argc, argv);
|
||||||
|
|
||||||
a.setAttribute(Qt::AA_UseHighDpiPixmaps);
|
a.setAttribute(Qt::AA_UseHighDpiPixmaps);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user