diff --git a/qml/main.qml b/qml/main.qml index db9ec87..88c1d29 100644 --- a/qml/main.qml +++ b/qml/main.qml @@ -61,7 +61,8 @@ Item { radius: windowRadius visible: windowRadius border.width: 1 - border.color: Qt.rgba(0, 0, 0, 0.2) + border.color: Qt.rgba(0, 0, 0, 1) + opacity: FishUI.Theme.darkMode ? 0.3 : 0.1 antialiasing: true smooth: true } @@ -73,7 +74,8 @@ Item { visible: windowRadius color: "transparent" border.width: 1 - border.color: Qt.rgba(255, 255, 255, 0.2) + border.color: Qt.rgba(255, 255, 255, 1) + opacity: FishUI.Theme.darkMode ? 0.3 : 0.1 antialiasing: true smooth: true } diff --git a/src/main.cpp b/src/main.cpp index 854190c..502ae7b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -28,7 +28,7 @@ int main(int argc, char *argv[]) { - QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); + QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QApplication app(argc, argv); qmlRegisterType("Cutefish.Dock", 1, 0, "DockSettings");