Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
28825619
Commit
28825619
authored
Jan 31, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - #ifdef WIN32 consistancy if some insane people try Qt on Mac.
parent
3e75ca56
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
138 additions
and
139 deletions
+138
-139
modules/gui/qt4/components/open_panels.cpp
modules/gui/qt4/components/open_panels.cpp
+128
-128
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+8
-8
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+0
-1
modules/gui/qt4/menus.hpp
modules/gui/qt4/menus.hpp
+1
-1
modules/gui/qt4/qt4.cpp
modules/gui/qt4/qt4.cpp
+1
-1
No files found.
modules/gui/qt4/components/open_panels.cpp
View file @
28825619
This diff is collapsed.
Click to expand it.
modules/gui/qt4/components/simple_preferences.cpp
View file @
28825619
...
@@ -236,7 +236,10 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
...
@@ -236,7 +236,10 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
CONNECT
(
ui
.
outputModule
,
currentIndexChanged
(
int
),
CONNECT
(
ui
.
outputModule
,
currentIndexChanged
(
int
),
this
,
updateAudioOptions
(
int
)
);
this
,
updateAudioOptions
(
int
)
);
#ifndef WIN32
#ifdef WIN32
CONFIG_GENERIC
(
"directx-audio-device"
,
IntegerList
,
ui
.
DirectXLabel
,
DirectXDevice
);
#else
if
(
module_Exists
(
p_intf
,
"alsa"
)
)
if
(
module_Exists
(
p_intf
,
"alsa"
)
)
{
{
CONFIG_GENERIC
(
"alsadev"
,
StringList
,
ui
.
alsaLabel
,
CONFIG_GENERIC
(
"alsadev"
,
StringList
,
ui
.
alsaLabel
,
...
@@ -247,9 +250,6 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
...
@@ -247,9 +250,6 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
CONFIG_GENERIC_FILE
(
"dspdev"
,
File
,
ui
.
OSSLabel
,
OSSDevice
,
CONFIG_GENERIC_FILE
(
"dspdev"
,
File
,
ui
.
OSSLabel
,
OSSDevice
,
OSSBrowse
);
OSSBrowse
);
}
}
#else
CONFIG_GENERIC
(
"directx-audio-device"
,
IntegerList
,
ui
.
DirectXLabel
,
DirectXDevice
);
#endif
#endif
// File exists everywhere
// File exists everywhere
CONFIG_GENERIC_FILE
(
"audiofile-file"
,
File
,
ui
.
fileLabel
,
CONFIG_GENERIC_FILE
(
"audiofile-file"
,
File
,
ui
.
fileLabel
,
...
@@ -445,7 +445,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
...
@@ -445,7 +445,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
CONFIG_GENERIC
(
"embeded-video"
,
Bool
,
NULL
,
embedVideo
);
CONFIG_GENERIC
(
"embeded-video"
,
Bool
,
NULL
,
embedVideo
);
CONFIG_GENERIC_FILE
(
"skins2-last"
,
File
,
NULL
,
fileSkin
,
CONFIG_GENERIC_FILE
(
"skins2-last"
,
File
,
NULL
,
fileSkin
,
skinBrowse
);
skinBrowse
);
#if defined( WIN32 ) || defined( HAVE_DBUS_3 )
#if defined( WIN32 ) || defined( HAVE_DBUS_3 )
|| defined(__APPLE__)
CONFIG_GENERIC
(
"one-instance"
,
Bool
,
NULL
,
OneInterfaceMode
);
CONFIG_GENERIC
(
"one-instance"
,
Bool
,
NULL
,
OneInterfaceMode
);
CONFIG_GENERIC
(
"playlist-enqueue"
,
Bool
,
NULL
,
CONFIG_GENERIC
(
"playlist-enqueue"
,
Bool
,
NULL
,
EnqueueOneInterfaceMode
);
EnqueueOneInterfaceMode
);
...
@@ -499,11 +499,11 @@ void SPrefsPanel::updateAudioOptions( int number)
...
@@ -499,11 +499,11 @@ void SPrefsPanel::updateAudioOptions( int number)
QString
value
=
qobject_cast
<
QComboBox
*>
(
optionWidgets
[
audioOutCoB
])
QString
value
=
qobject_cast
<
QComboBox
*>
(
optionWidgets
[
audioOutCoB
])
->
itemData
(
number
).
toString
();
->
itemData
(
number
).
toString
();
#ifndef WIN32
#ifdef WIN32
optionWidgets
[
directxW
]
->
setVisible
(
(
value
==
"directx"
)
);
#else
optionWidgets
[
ossW
]
->
setVisible
(
(
value
==
"oss"
)
);
optionWidgets
[
ossW
]
->
setVisible
(
(
value
==
"oss"
)
);
optionWidgets
[
alsaW
]
->
setVisible
(
(
value
==
"alsa"
)
);
optionWidgets
[
alsaW
]
->
setVisible
(
(
value
==
"alsa"
)
);
#else
optionWidgets
[
directxW
]
->
setVisible
(
(
value
==
"directx"
)
);
#endif
#endif
optionWidgets
[
fileW
]
->
setVisible
(
(
value
==
"aout_file"
)
);
optionWidgets
[
fileW
]
->
setVisible
(
(
value
==
"aout_file"
)
);
}
}
...
...
modules/gui/qt4/main_interface.cpp
View file @
28825619
...
@@ -175,7 +175,6 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
...
@@ -175,7 +175,6 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
statusBar
()
->
addPermanentWidget
(
pgBar
,
0
);
statusBar
()
->
addPermanentWidget
(
pgBar
,
0
);
statusBar
()
->
addPermanentWidget
(
timeLabel
,
0
);
statusBar
()
->
addPermanentWidget
(
timeLabel
,
0
);
/* timeLabel behaviour:
/* timeLabel behaviour:
- double clicking opens the goto time dialog
- double clicking opens the goto time dialog
- right-clicking and clicking just toggle between remaining and
- right-clicking and clicking just toggle between remaining and
...
...
modules/gui/qt4/menus.hpp
View file @
28825619
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
#include <vector>
#include <vector>
/* Folder vs. Directory */
/* Folder vs. Directory */
#if
def WIN32
#if
defined( WIN32 ) || defined(__APPLE__)
#define I_OPEN_FOLDER "Open &Folder..."
#define I_OPEN_FOLDER "Open &Folder..."
#else
#else
#define I_OPEN_FOLDER "Open D&irectory..."
#define I_OPEN_FOLDER "Open D&irectory..."
...
...
modules/gui/qt4/qt4.cpp
View file @
28825619
...
@@ -285,7 +285,7 @@ static void Init( intf_thread_t *p_intf )
...
@@ -285,7 +285,7 @@ static void Init( intf_thread_t *p_intf )
Q_INIT_RESOURCE
(
vlc
);
Q_INIT_RESOURCE
(
vlc
);
#if
ndef WIN32
#if
!defined(WIN32) && !defined(__APPLE__)
/* KLUDGE:
/* KLUDGE:
* disables icon theme use because that makes Cleanlooks style bug
* disables icon theme use because that makes Cleanlooks style bug
* because it asks gconf for some settings that timeout because of threads
* because it asks gconf for some settings that timeout because of threads
...
...
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