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
Multimedia
Kdenlive
Commits
81ddab10
Commit
81ddab10
authored
Aug 31, 2021
by
Julius Künzel
⚠
Browse files
Fix some clang & clazy warnings
parent
941a1b8e
Changes
7
Hide whitespace changes
Inline
Side-by-side
src/assets/view/widgets/slidewidget.cpp
View file @
81ddab10
...
...
@@ -220,5 +220,5 @@ const QString SlideWidget::getWipeString(wipeInfo info)
break
;
}
end
.
append
(
QString
(
" %1%"
).
arg
(
info
.
endTransparency
));
return
QString
(
"0=%1;-1=%2"
).
arg
(
start
).
arg
(
end
);
return
QString
(
"0=%1;-1=%2"
).
arg
(
start
,
end
);
}
src/assets/view/widgets/urllistparamwidget.cpp
View file @
81ddab10
...
...
@@ -200,7 +200,6 @@ void UrlListParamWidget::openFile()
QString
urlString
=
QFileDialog
::
getOpenFileName
(
this
,
QString
(),
path
,
filter
);
if
(
!
urlString
.
isEmpty
())
{
QString
path
=
QUrl
(
urlString
).
adjusted
(
QUrl
::
RemoveFilename
).
toString
();
KRecentDirs
::
add
(
QStringLiteral
(
":KdenliveUrlListParamFolder"
),
QUrl
(
urlString
).
adjusted
(
QUrl
::
RemoveFilename
).
toString
());
emit
valueChanged
(
m_index
,
urlString
,
true
);
slotRefresh
();
...
...
src/core.cpp
View file @
81ddab10
...
...
@@ -720,7 +720,7 @@ void Core::displayMessage(const QString &message, MessageType type, int timeout)
void
Core
::
loadingClips
(
int
count
)
{
m_mainWindow
->
displayProgressMessage
(
i18n
(
"Loading clips"
),
MessageType
::
ProcessingJobMessage
,
count
);
emit
m_mainWindow
->
displayProgressMessage
(
i18n
(
"Loading clips"
),
MessageType
::
ProcessingJobMessage
,
count
);
}
void
Core
::
displayBinMessage
(
const
QString
&
text
,
int
type
,
const
QList
<
QAction
*>
&
actions
,
bool
showClose
,
BinMessage
::
BinCategory
messageCategory
)
...
...
src/dialogs/kdenlivesettingsdialog.cpp
View file @
81ddab10
...
...
@@ -1127,7 +1127,7 @@ void KdenliveSettingsDialog::updateSettings()
KdenliveSettings
::
setThumbColor1
(
m_configColors
.
kcfg_thumbColor1
->
color
());
KdenliveSettings
::
setThumbColor2
(
m_configColors
.
kcfg_thumbColor2
->
color
());
emit
pCore
->
window
()
->
getMainTimeline
()
->
controller
()
->
colorsChanged
();
emit
pCore
->
getMonitor
(
Kdenlive
::
ClipMonitor
)
->
refreshAudioThumbs
();
pCore
->
getMonitor
(
Kdenlive
::
ClipMonitor
)
->
refreshAudioThumbs
();
}
if
(
m_configSdl
.
kcfg_volume
->
value
()
!=
KdenliveSettings
::
volume
())
{
...
...
@@ -1142,7 +1142,7 @@ void KdenliveSettingsDialog::updateSettings()
if
(
m_configTimeline
.
kcfg_displayallchannels
->
isChecked
()
!=
KdenliveSettings
::
displayallchannels
())
{
KdenliveSettings
::
setDisplayallchannels
(
m_configTimeline
.
kcfg_displayallchannels
->
isChecked
());
emit
audioThumbFormatChanged
();
emit
pCore
->
getMonitor
(
Kdenlive
::
ClipMonitor
)
->
refreshAudioThumbs
();
pCore
->
getMonitor
(
Kdenlive
::
ClipMonitor
)
->
refreshAudioThumbs
();
}
if
(
m_modified
)
{
...
...
src/dialogs/textbasededit.cpp
View file @
81ddab10
...
...
@@ -52,7 +52,7 @@ VideoTextEdit::VideoTextEdit(QWidget *parent)
connect
(
this
,
&
VideoTextEdit
::
cursorPositionChanged
,
[
this
]()
{
lineNumberArea
->
update
();
});
connect
(
verticalScrollBar
(),
&
QScrollBar
::
valueChanged
,
[
this
]()
{
connect
(
verticalScrollBar
(),
&
QScrollBar
::
valueChanged
,
this
,
[
this
]()
{
lineNumberArea
->
update
();
});
QRect
rect
=
this
->
contentsRect
();
...
...
src/mainwindow.cpp
View file @
81ddab10
...
...
@@ -4476,7 +4476,7 @@ void MainWindow::slotSpeechRecognition()
void
MainWindow
::
slotCopyDebugInfo
()
{
QString
debuginfo
=
QStringLiteral
(
"Kdenlive: %1
\n
"
).
arg
(
KAboutData
::
applicationData
().
version
());
debuginfo
.
append
(
QStringLiteral
(
"MLT: %1
\n
"
).
arg
(
mlt_version_get_string
()));
debuginfo
.
append
(
QStringLiteral
(
"Qt: %1 (built against %2 %3)
\n
"
).
arg
(
QString
::
fromLocal8Bit
(
qVersion
())
).
arg
(
QT_VERSION_STR
,
QSysInfo
::
buildAbi
()));
debuginfo
.
append
(
QStringLiteral
(
"Qt: %1 (built against %2 %3)
\n
"
).
arg
(
QString
::
fromLocal8Bit
(
qVersion
())
,
QT_VERSION_STR
,
QSysInfo
::
buildAbi
()));
debuginfo
.
append
(
QStringLiteral
(
"Frameworks: %2
\n
"
).
arg
(
KCoreAddons
::
versionString
()));
debuginfo
.
append
(
QStringLiteral
(
"System: %1
\n
"
).
arg
(
QSysInfo
::
prettyProductName
()));
debuginfo
.
append
(
QStringLiteral
(
"Kernel: %1 %2
\n
"
).
arg
(
QSysInfo
::
kernelType
(),
QSysInfo
::
kernelVersion
()));
...
...
src/onlineresources/resourcewidget.cpp
View file @
81ddab10
...
...
@@ -78,8 +78,8 @@ ResourceWidget::ResourceWidget(QWidget *parent)
}
connect
(
service_list
,
SIGNAL
(
currentIndexChanged
(
int
)),
this
,
SLOT
(
slotChangeProvider
()));
loadConfig
();
connect
(
provider_info
,
SIGNAL
(
leftClickedUrl
(
const
QString
&
)),
this
,
SLOT
(
slotOpenUrl
(
const
QString
&
)));
connect
(
label_license
,
SIGNAL
(
leftClickedUrl
(
const
QString
&
)),
this
,
SLOT
(
slotOpenUrl
(
const
QString
&
)));
connect
(
provider_info
,
SIGNAL
(
leftClickedUrl
(
QString
&
)),
this
,
SLOT
(
slotOpenUrl
(
QString
&
)));
connect
(
label_license
,
SIGNAL
(
leftClickedUrl
(
QString
&
)),
this
,
SLOT
(
slotOpenUrl
(
QString
&
)));
connect
(
search_text
,
SIGNAL
(
returnPressed
()),
this
,
SLOT
(
slotStartSearch
()));
connect
(
search_results
,
&
QListWidget
::
currentRowChanged
,
this
,
&
ResourceWidget
::
slotUpdateCurrentItem
);
connect
(
button_preview
,
&
QAbstractButton
::
clicked
,
this
,
[
&
](){
...
...
Julius Künzel
⚠
@jlskuz
mentioned in commit
4d08de25
·
Aug 31, 2021
mentioned in commit
4d08de25
mentioned in commit 4d08de25cdc2969cf7a1856946887e3a83a4a503
Toggle commit list
Write
Preview
Supports
Markdown
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