feat: open folder will also select file on linux
This commit is contained in:
parent
a24c246fc7
commit
b83de962cb
4
.github/workflows/ubuntu.yml
vendored
4
.github/workflows/ubuntu.yml
vendored
|
@ -8,7 +8,7 @@ jobs:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v3
|
||||||
- name: Get build dept.
|
- name: Get build dept.
|
||||||
run: |
|
run: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
|
@ -24,7 +24,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
cd build
|
cd build
|
||||||
sudo apt install ./*.deb
|
sudo apt install ./*.deb
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ubuntu-20.04-deb-package
|
name: ubuntu-20.04-deb-package
|
||||||
path: build/*.deb
|
path: build/*.deb
|
||||||
|
|
|
@ -17,7 +17,10 @@ set (QT_MINIMUM_VERSION "5.10")
|
||||||
|
|
||||||
option (EXIV2_METADATA_SUPPORT "Better image metadata support via libexiv2" ON)
|
option (EXIV2_METADATA_SUPPORT "Better image metadata support via libexiv2" ON)
|
||||||
|
|
||||||
find_package(Qt5 ${QT_MINIMUM_VERSION} CONFIG REQUIRED Widgets Svg LinguistTools)
|
find_package(Qt5 ${QT_MINIMUM_VERSION} REQUIRED
|
||||||
|
COMPONENTS Widgets Svg LinguistTools
|
||||||
|
OPTIONAL_COMPONENTS DBus
|
||||||
|
)
|
||||||
|
|
||||||
if (EXIV2_METADATA_SUPPORT)
|
if (EXIV2_METADATA_SUPPORT)
|
||||||
find_package(LibExiv2)
|
find_package(LibExiv2)
|
||||||
|
@ -113,6 +116,15 @@ if (LibExiv2_FOUND)
|
||||||
)
|
)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
if (Qt5DBus_FOUND)
|
||||||
|
target_link_libraries (${EXE_NAME}
|
||||||
|
Qt5::DBus
|
||||||
|
)
|
||||||
|
target_compile_definitions(${EXE_NAME} PRIVATE
|
||||||
|
HAVE_QTDBUS
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
# Extra build settings
|
# Extra build settings
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
set_property (
|
set_property (
|
||||||
|
|
1522
app/mainwindow.cpp
1522
app/mainwindow.cpp
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user