Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Education
KmPlot
Commits
1d57a42e
Commit
1d57a42e
authored
Sep 09, 2020
by
Yuri Chornoivan
Browse files
Avoid casting from ASCII
parent
11993039
Changes
2
Hide whitespace changes
Inline
Side-by-side
kmplot/coordsconfigdialog.cpp
View file @
1d57a42e
...
...
@@ -51,7 +51,7 @@ CoordsConfigDialog::CoordsConfigDialog(QWidget *parent)
configAxesDialog
->
layout
()
->
setContentsMargins
(
0
,
0
,
0
,
0
);
addPage
(
configAxesDialog
,
i18n
(
"Coordinates"
),
"coords"
,
i18n
(
"Coordinate System"
)
);
setWindowTitle
(
i18n
(
"Coordinate System"
)
);
setHelp
(
"axes-config"
);
setHelp
(
QString
::
fromLatin1
(
"axes-config"
)
)
;
setFaceType
(
Plain
);
connect
(
configAxesDialog
->
kcfg_XMin
,
&
EquationEdit
::
textEdited
,
this
,
&
CoordsConfigDialog
::
updateButtons
);
connect
(
configAxesDialog
->
kcfg_XMax
,
&
EquationEdit
::
textEdited
,
this
,
&
CoordsConfigDialog
::
updateButtons
);
...
...
kmplot/maindlg.cpp
View file @
1d57a42e
...
...
@@ -186,7 +186,7 @@ MainDlg::MainDlg(QWidget *parentWidget, QObject *parent, const QVariantList& ) :
// Let's create a Configure Dialog
m_settingsDialog
=
new
KConfigDialog
(
parentWidget
,
"settings"
,
Settings
::
self
()
);
QMetaObject
::
invokeMethod
(
m_settingsDialog
,
"setHelp"
,
Qt
::
DirectConnection
,
Q_ARG
(
QString
,
"configuration"
),
Q_ARG
(
QString
,
"kmplot"
));
QMetaObject
::
invokeMethod
(
m_settingsDialog
,
"setHelp"
,
Qt
::
DirectConnection
,
Q_ARG
(
QString
,
QString
::
fromLatin1
(
"configuration"
)
)
,
Q_ARG
(
QString
,
QString
::
fromLatin1
(
"kmplot"
))
)
;
// create and add the page(s)
m_generalSettings
=
new
SettingsPageGeneral
(
View
::
self
()
);
...
...
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