Skip to content

Commit

Permalink
fix target, try with keeping windowsvista as setstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamsyntax committed Apr 30, 2024
1 parent 512b85c commit b8332f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ if(WIN32)
$<TARGET_FILE_DIR:dolphin-memory-engine>/styles
TARGET dolphin-memory-engine POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_if_different
$<TARGET_FILE:Qt6::qmodernwindowsstylePlugin>
$<TARGET_FILE:Qt6::qModernWindowsStylePlugin>
$<TARGET_FILE_DIR:dolphin-memory-engine>/styles
)
endif(WIN32)
Expand Down
2 changes: 1 addition & 1 deletion Source/GUI/GUICommon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ void changeApplicationStyle(int index)
}
else if (index == 1)
{
QApplication::setStyle(QStringLiteral("windows"));
QApplication::setStyle(QStringLiteral("windowsvista"));
}
}

Expand Down

0 comments on commit b8332f9

Please sign in to comment.