Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Murmele committed Oct 8, 2023
1 parent feadf99 commit ad2a208
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
3 changes: 1 addition & 2 deletions src/cred/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
add_library(cred Cache.cpp CredentialHelper.cpp GitCredential.cpp
${CREDENTIAL_IMPL_FILE})
add_library(cred Cache.cpp CredentialHelper.cpp GitCredential.cpp)

target_link_libraries(cred conf git Qt6::Core)

Expand Down
5 changes: 0 additions & 5 deletions src/dialogs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@ target_compile_definitions(

target_include_directories(dialogs PRIVATE ${CMAKE_CURRENT_BINARY_DIR})

find_package(
Qt6
COMPONENTS Core5Compat
REQUIRED)

target_link_libraries(
dialogs
cli
Expand Down
4 changes: 0 additions & 4 deletions src/index/Query.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,6 @@ class BooleanQuery : public Query {
if (mKind == And) {
// Remove commits that don't match the right hand side.
QSet<git::Commit> set(rhs.begin(), rhs.end());
#else
#endif
QMutableListIterator<git::Commit> it(commits);
while (it.hasNext()) {
if (!set.contains(it.next()))
Expand All @@ -195,8 +193,6 @@ class BooleanQuery : public Query {
} else {
// Add commits that aren't already in the result set.
QSet<git::Commit> set(commits.begin(), commits.end());
#else
#endif
foreach (const git::Commit &commit, rhs) {
if (!set.contains(commit))
commits.append(commit);
Expand Down

0 comments on commit ad2a208

Please sign in to comment.