Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
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
videolan
vlc-gpu
Commits
46ff46ab
Commit
46ff46ab
authored
Oct 23, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Qt] Put the extended dialog on the left of the Main Interface by default.
Close ticket
parent
d72ab39c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
10 deletions
+11
-10
modules/gui/qt4/dialogs/extended.cpp
modules/gui/qt4/dialogs/extended.cpp
+9
-7
modules/gui/qt4/dialogs_provider.cpp
modules/gui/qt4/dialogs_provider.cpp
+2
-3
No files found.
modules/gui/qt4/dialogs/extended.cpp
View file @
46ff46ab
...
@@ -88,17 +88,19 @@ ExtendedDialog::ExtendedDialog( intf_thread_t *_p_intf ): QVLCFrame( _p_intf )
...
@@ -88,17 +88,19 @@ ExtendedDialog::ExtendedDialog( intf_thread_t *_p_intf ): QVLCFrame( _p_intf )
layout
->
addWidget
(
closeButton
,
1
,
4
,
1
,
1
);
layout
->
addWidget
(
closeButton
,
1
,
4
,
1
,
1
);
CONNECT
(
closeButton
,
clicked
(),
this
,
close
()
);
CONNECT
(
closeButton
,
clicked
(),
this
,
close
()
);
QPoint
startPoint
(
450
,
0
);
/* Restore geometry or move this dialog on the left pane of the MI */
MainInterface
*
p_mi
=
p_intf
->
p_sys
->
p_mi
;
if
(
!
restoreGeometry
(
getSettings
()
->
value
(
"EPanel/geometry"
).
toByteArray
()))
if
(
p_mi
)
{
{
startPoint
.
setX
(
p_mi
->
x
()
);
resize
(
QSize
(
400
,
280
)
);
startPoint
.
setY
(
p_mi
->
y
()
+
p_mi
->
frameGeometry
().
height
()
);
MainInterface
*
p_mi
=
p_intf
->
p_sys
->
p_mi
;
if
(
p_mi
)
move
(
(
p_mi
->
x
()
-
frameGeometry
().
width
()
-
10
),
p_mi
->
y
()
);
else
move
(
450
,
0
);
}
}
readSettings
(
"EPanel"
,
QSize
(
400
,
280
),
startPoint
);
CONNECT
(
THEMIM
->
getIM
(),
statusChanged
(
int
),
this
,
changedItem
(
int
)
);
CONNECT
(
THEMIM
->
getIM
(),
statusChanged
(
int
),
this
,
changedItem
(
int
)
);
}
}
ExtendedDialog
::~
ExtendedDialog
()
ExtendedDialog
::~
ExtendedDialog
()
...
...
modules/gui/qt4/dialogs_provider.cpp
View file @
46ff46ab
...
@@ -427,9 +427,8 @@ static void openDirectory( intf_thread_t *p_intf, bool pl, bool go )
...
@@ -427,9 +427,8 @@ static void openDirectory( intf_thread_t *p_intf, bool pl, bool go )
if
(
!
dir
.
isEmpty
()
)
if
(
!
dir
.
isEmpty
()
)
{
{
QString
mrl
=
dir
.
endsWith
(
"VIDEO_TS"
,
Qt
::
CaseInsensitive
)
QString
mrl
=
dir
.
endsWith
(
"VIDEO_TS"
,
Qt
::
CaseInsensitive
)
?
?
"dvd://"
:
"directory://"
+
toNativeSeparators
(
dir
);
"dvd://"
:
"directory://"
+
toNativeSeparators
(
dir
);
msg_Dbg
(
p_intf
,
"Directory opening: %s"
,
qtu
(
dir
)
);
input_item_t
*
p_input
=
input_item_NewExt
(
THEPL
,
qtu
(
mrl
),
input_item_t
*
p_input
=
input_item_NewExt
(
THEPL
,
qtu
(
mrl
),
NULL
,
0
,
NULL
,
-
1
);
NULL
,
0
,
NULL
,
-
1
);
...
...
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