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
K
KDE Pim
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
Unmaintained
KDE Pim
Commits
28ca86eb
Commit
28ca86eb
authored
Aug 04, 2016
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix margin here too
parent
6219743d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
knotes/src/finddialog/knotefinddialog.cpp
knotes/src/finddialog/knotefinddialog.cpp
+2
-3
knotes/src/print/knoteprintselectednotesdialog.cpp
knotes/src/print/knoteprintselectednotesdialog.cpp
+2
-2
No files found.
knotes/src/finddialog/knotefinddialog.cpp
View file @
28ca86eb
...
...
@@ -79,7 +79,8 @@ void KNoteFindDialog::readConfig()
KNoteFindWidget
::
KNoteFindWidget
(
QWidget
*
parent
)
:
QWidget
(
parent
)
{
QVBoxLayout
*
vbox
=
new
QVBoxLayout
;
QVBoxLayout
*
vbox
=
new
QVBoxLayout
(
this
);
vbox
->
setMargin
(
0
);
QHBoxLayout
*
hbox
=
new
QHBoxLayout
;
vbox
->
addLayout
(
hbox
);
QLabel
*
lab
=
new
QLabel
(
i18n
(
"Search notes:"
));
...
...
@@ -105,8 +106,6 @@ KNoteFindWidget::KNoteFindWidget(QWidget *parent)
vbox
->
addWidget
(
mResultSearch
);
mSearchLineEdit
->
setFocus
();
setLayout
(
vbox
);
}
KNoteFindWidget
::~
KNoteFindWidget
()
...
...
knotes/src/print/knoteprintselectednotesdialog.cpp
View file @
28ca86eb
...
...
@@ -40,8 +40,7 @@ KNotePrintSelectedNotesDialog::KNotePrintSelectedNotesDialog(QWidget *parent)
{
setWindowTitle
(
i18n
(
"Select notes"
));
mButtonBox
=
new
QDialogButtonBox
(
QDialogButtonBox
::
Ok
|
QDialogButtonBox
::
Cancel
);
QVBoxLayout
*
mainLayout
=
new
QVBoxLayout
;
setLayout
(
mainLayout
);
QVBoxLayout
*
mainLayout
=
new
QVBoxLayout
(
this
);
QPushButton
*
okButton
=
mButtonBox
->
button
(
QDialogButtonBox
::
Ok
);
okButton
->
setDefault
(
true
);
okButton
->
setShortcut
(
Qt
::
CTRL
|
Qt
::
Key_Return
);
...
...
@@ -51,6 +50,7 @@ KNotePrintSelectedNotesDialog::KNotePrintSelectedNotesDialog(QWidget *parent)
connect
(
mButtonBox
,
&
QDialogButtonBox
::
rejected
,
this
,
&
KNotePrintSelectedNotesDialog
::
reject
);
QWidget
*
w
=
new
QWidget
;
QVBoxLayout
*
vbox
=
new
QVBoxLayout
;
vbox
->
setMargin
(
0
);
w
->
setLayout
(
vbox
);
mListNotes
=
new
QListWidget
;
...
...
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