Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
David Planella
juk
Commits
72a064fd
Commit
72a064fd
authored
Nov 20, 2008
by
Sebastian Sauer
Browse files
waste less space
svn path=/trunk/KDE/kdemultimedia/juk/; revision=887052
parent
c98aeeee
Changes
4
Hide whitespace changes
Inline
Side-by-side
nowplaying.cpp
View file @
72a064fd
...
...
@@ -69,7 +69,7 @@ NowPlaying::NowPlaying(QWidget *parent, PlaylistCollection *collection, const ch
CollectionList
::
instance
()
->
addObserver
(
&
m_observer
);
layout
()
->
setMargin
(
5
);
layout
()
->
setMargin
(
0
);
layout
()
->
setSpacing
(
3
);
setFixedHeight
(
imageSize
+
2
+
layout
()
->
margin
()
*
2
);
...
...
@@ -119,8 +119,6 @@ CoverItem::CoverItem(NowPlaying *parent) :
{
setObjectName
(
"CoverItem"
);
setFixedHeight
(
parent
->
height
()
-
parent
->
layout
()
->
margin
()
*
2
);
setFrameStyle
(
Box
|
Plain
);
setLineWidth
(
1
);
setMargin
(
1
);
setAcceptDrops
(
true
);
}
...
...
playlistsplitter.cpp
View file @
72a064fd
...
...
@@ -160,10 +160,12 @@ void PlaylistSplitter::setupLayout()
QWidget
*
top
=
new
QWidget
(
editorSplitter
);
QVBoxLayout
*
topLayout
=
new
QVBoxLayout
(
top
);
topLayout
->
setMargin
(
0
);
topLayout
->
setSpacing
(
0
);
m_playlistStack
=
new
Q3WidgetStack
(
top
,
"playlistStack"
);
m_playlistStack
->
installEventFilter
(
this
);
m_playlistStack
->
setSizePolicy
(
QSizePolicy
::
Expanding
,
QSizePolicy
::
Expanding
);
m_playlistStack
->
setSizePolicy
(
QSizePolicy
::
Expanding
,
QSizePolicy
::
Minimum
Expanding
);
m_playlistStack
->
hide
();
// Will be shown after CollectionList filled.
connect
(
m_playlistStack
,
SIGNAL
(
aboutToShow
(
QWidget
*
)),
this
,
SLOT
(
slotPlaylistChanged
(
QWidget
*
)));
...
...
searchwidget.cpp
View file @
72a064fd
...
...
@@ -47,6 +47,7 @@ SearchLine::SearchLine(QWidget *parent, bool simple)
m_searchFieldsBox
(
0
)
{
QHBoxLayout
*
layout
=
new
QHBoxLayout
(
this
);
layout
->
setMargin
(
0
);
layout
->
setSpacing
(
5
);
if
(
!
m_simple
)
{
...
...
tageditor.cpp
View file @
72a064fd
...
...
@@ -506,7 +506,7 @@ void TagEditor::setupLayout()
QHBoxLayout
*
layout
=
new
QHBoxLayout
(
this
);
layout
->
setSpacing
(
horizontalSpacing
);
layout
->
setMargin
(
6
);
layout
->
setMargin
(
0
);
//////////////////////////////////////////////////////////////////////////////
// define two columns of the bottem layout
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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