diff --git a/src/mainwindow_styles.cpp b/src/mainwindow_styles.cpp index 20e9a7a..0418c85 100755 --- a/src/mainwindow_styles.cpp +++ b/src/mainwindow_styles.cpp @@ -68,12 +68,5 @@ void MainWindow::setDarkStyle() ui->additionalArguments_pushButton->setStyleSheet(STYLE_MAC_BUTTON_DARK); ui->nextPage_pushButton->setStyleSheet(STYLE_MAC_BUTTON_DARK); ui->previousPage_pushButton->setStyleSheet(STYLE_MAC_BUTTON_DARK); -#elif defined Q_OS_WIN - COLORREF DARK_COLOR = 0x00FFFFFF; - BOOL SET_CAPTION_COLOR = SUCCEEDED(DwmSetWindowAttribute(WINhWnd, DWMWINDOWATTRIBUTE::DWMWA_CAPTION_COLOR, &DARK_COLOR, sizeof(DARK_COLOR))); - BOOL SET_CAPTION_COLOR = SUCCEEDED(DwmSetWindowAttribute(WINhWnd, DWMWINDOWATTRIBUTE::DWMWA_BORDER_COLOR, &DARK_COLOR, sizeof(DARK_COLOR))); - - ShowWindow(hwnd, SW_MINIMIZE); - ShowWindow(hwnd, SW_RESTORE); #endif }