Refactor systemtrayicon code
This commit is contained in:
@@ -36,11 +36,10 @@ set(SOURCES
|
||||
core/utilities.cpp
|
||||
core/imageutils.cpp
|
||||
core/iconloader.cpp
|
||||
core/qtsystemtrayicon.cpp
|
||||
core/standarditemiconloader.cpp
|
||||
core/systemtrayicon.cpp
|
||||
core/scopedtransaction.cpp
|
||||
core/translations.cpp
|
||||
core/systemtrayicon.cpp
|
||||
|
||||
engine/enginetype.cpp
|
||||
engine/enginebase.cpp
|
||||
@@ -266,9 +265,7 @@ set(HEADERS
|
||||
core/tagreaderclient.h
|
||||
core/taskmanager.h
|
||||
core/urlhandler.h
|
||||
core/qtsystemtrayicon.h
|
||||
core/standarditemiconloader.h
|
||||
core/systemtrayicon.h
|
||||
core/mimedata.h
|
||||
core/stylesheetloader.h
|
||||
|
||||
@@ -542,7 +539,10 @@ option(USE_INSTALL_PREFIX "Look for data in CMAKE_INSTALL_PREFIX" ON)
|
||||
|
||||
if(NOT APPLE)
|
||||
set(NOT_APPLE ON)
|
||||
optional_source(NOT_APPLE SOURCES widgets/qsearchfield_nonmac.cpp)
|
||||
optional_source(NOT_APPLE
|
||||
SOURCES widgets/qsearchfield_nonmac.cpp core/qtsystemtrayicon.cpp
|
||||
HEADERS core/qtsystemtrayicon.h
|
||||
)
|
||||
endif()
|
||||
|
||||
if(HAVE_GLOBALSHORTCUTS)
|
||||
|
||||
Reference in New Issue
Block a user