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
Multimedia
Kdenlive
Commits
424225c6
Commit
424225c6
authored
Dec 04, 2022
by
Julius Künzel
💬
Browse files
[kdenlive_render] Remove unused code
parent
99cbac8e
Pipeline
#280517
failed with stage
in 10 minutes and 17 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
renderer/renderjob.cpp
View file @
424225c6
...
...
@@ -40,7 +40,6 @@ RenderJob::RenderJob(const QString &render, const QString &scenelist, const QStr
#else
,
m_kdenlivesocket
(
new
QLocalSocket
(
this
))
#endif
,
m_usekuiserver
(
true
)
,
m_logfile
(
m_dest
+
QStringLiteral
(
".log"
))
,
m_erase
(
scenelist
.
startsWith
(
QDir
::
tempPath
())
||
scenelist
.
startsWith
(
QString
(
"xml:%2"
).
arg
(
QDir
::
tempPath
())))
,
m_seconds
(
0
)
...
...
@@ -209,7 +208,7 @@ void RenderJob::start()
m_startTime
=
QDateTime
::
currentDateTime
();
#ifndef NODBUS
QDBusConnectionInterface
*
interface
=
QDBusConnection
::
sessionBus
().
interface
();
if
((
interface
!=
nullptr
)
&&
m_usekuiserver
)
{
if
((
interface
!=
nullptr
))
{
if
(
!
interface
->
isServiceRegistered
(
QStringLiteral
(
"org.kde.JobViewServer"
)))
{
qWarning
()
<<
"No org.kde.JobViewServer registered, trying to start kuiserver"
;
if
(
QProcess
::
startDetached
(
QStringLiteral
(
"kuiserver"
),
QStringList
()))
{
...
...
@@ -272,12 +271,6 @@ void RenderJob::start()
}
#endif
// Make sure the destination directory is writable
/*QFileInfo checkDestination(QFileInfo(m_dest).absolutePath());
if (!checkDestination.isWritable()) {
slotIsOver(QProcess::NormalExit, false);
}*/
// Because of the logging, we connect to stderr in all cases.
connect
(
m_renderProcess
,
&
QProcess
::
readyReadStandardError
,
this
,
&
RenderJob
::
receivedStderr
);
m_renderProcess
->
start
(
m_prog
,
m_args
);
...
...
renderer/renderjob.h
View file @
424225c6
...
...
@@ -51,7 +51,6 @@ private:
QDBusInterface
*
m_jobUiserver
;
QDBusInterface
*
m_kdenliveinterface
;
#endif
bool
m_usekuiserver
;
/** @brief Used to create a temporary file for logging. */
QFile
m_logfile
;
bool
m_erase
;
...
...
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