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
KMag
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
0
Merge Requests
0
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
Accessibility
KMag
Commits
20d248d4
Commit
20d248d4
authored
Sep 16, 2019
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
It compiles fine without deprecated method
parent
1851c66e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
CMakeLists.txt
CMakeLists.txt
+3
-2
kmagselrect.cpp
kmagselrect.cpp
+1
-1
No files found.
CMakeLists.txt
View file @
20d248d4
...
...
@@ -47,11 +47,12 @@ configure_file(
"
${
PROJECT_BINARY_DIR
}
/focustrackconfig.h"
)
include_directories
(
${
CMAKE_SOURCE_DIR
}
${
CMAKE_BINARY_DIR
}
)
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/.git"
)
add_definitions
(
-DQT_DISABLE_DEPRECATED_BEFORE=0x060000
)
endif
()
add_definitions
(
-DQT_DEPRECATED_WARNINGS
-DQT_DISABLE_DEPRECATED_BEFORE=0x050900
-DQT_STRICT_ITERATORS
)
add_subdirectory
(
doc
)
...
...
kmagselrect.cpp
View file @
20d248d4
...
...
@@ -210,7 +210,7 @@ KMagSelWin::KMagSelWin ( QWidget * parent ) :
titleBar
=
new
KMagSelWinCorner
(
this
);
titleBar
->
setObjectName
(
QStringLiteral
(
"titlebar"
));
setPaletteColor
(
titleBar
,
QPalette
::
Window
,
getTitleColor
());
setPaletteColor
(
titleBar
,
QPalette
::
Foreground
,
getTextColor
());
setPaletteColor
(
titleBar
,
QPalette
::
WindowText
,
getTextColor
());
titleBar
->
setText
(
i18n
(
"Selection Window"
)
+
QLatin1String
(
" - "
)
+
i18n
(
"KMagnifier"
));
connect
(
titleBar
,
&
KMagSelWinCorner
::
startResizing
,
this
,
&
KMagSelWin
::
startResizing
);
connect
(
titleBar
,
&
KMagSelWinCorner
::
resized
,
this
,
&
KMagSelWin
::
titleMoved
);
...
...
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