Skip to content

Commit

Permalink
Remove leftover code
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro-Beirao committed Dec 6, 2024
1 parent 08f5837 commit 08e9657
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/mainwindow_styles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 08e9657

Please sign in to comment.