Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
KInfoCenter
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Plasma
KInfoCenter
Commits
abeec4d5
Commit
abeec4d5
authored
Jan 15, 2018
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix cmake warning
parent
f4185277
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
CMakeLists.txt
CMakeLists.txt
+8
-0
Modules/energy/statisticsprovider.cpp
Modules/energy/statisticsprovider.cpp
+0
-2
No files found.
CMakeLists.txt
View file @
abeec4d5
...
...
@@ -84,6 +84,14 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR})
add_definitions
(
-DKDE_DEFAULT_DEBUG_AREA=1208
)
remove_definitions
(
-DQT_NO_CAST_FROM_ASCII -DQT_STRICT_ITERATORS -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_KEYWORDS
)
if
(
NOT CMAKE_VERSION VERSION_LESS
"3.10.0"
AND KF5_VERSION VERSION_LESS
"5.42.0"
)
# CMake 3.9+ warns about automoc on files without Q_OBJECT, and doesn't know about other macros.
# 3.10+ lets us provide more macro names that require automoc.
# KF5 >= 5.42 takes care itself of adding its macros in its cmake config files
list
(
APPEND CMAKE_AUTOMOC_MACRO_NAMES
"K_PLUGIN_FACTORY_WITH_JSON"
"K_PLUGIN_FACTORY"
)
endif
()
add_subdirectory
(
Categories
)
add_subdirectory
(
kcontrol/menus
)
add_subdirectory
(
Modules
)
...
...
Modules/energy/statisticsprovider.cpp
View file @
abeec4d5
...
...
@@ -199,5 +199,3 @@ void StatisticsProvider::load()
Q_EMIT
dataChanged
();
});
}
#include "statisticsprovider.moc"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment