Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert Rename of dlt_common. #512

Merged
merged 1 commit into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion qdlt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

add_library(qdlt SHARED
dlt_common.cpp
dlt_common.c
qdltipconnection.cpp
qdlttcpconnection.cpp
qdltudpconnection.cpp
Expand Down
4 changes: 2 additions & 2 deletions qdlt/dlt_common.cpp → qdlt/dlt_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
*
* \author Alexander Wenzel <alexander.aw.wenzel@bmw.de> 2011-2012
*
* \file dlt_common.cpp
* \file dlt_common.c
* For further information see http://www.covesa.global/.
* @licence end@
*/

/*******************************************************************************
** **
** SRC-MODULE: dlt_common.cpp **
** SRC-MODULE: dlt_common.c **
** **
** TARGET : linux **
** **
Expand Down
2 changes: 1 addition & 1 deletion qdlt/qdlt.pro
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ UI_DIR = build/ui
INCLUDEPATH = . ../src

SOURCES += \
dlt_common.cpp \
dlt_common.c \
qdltipconnection.cpp \
qdltmessagedecoder.cpp \
qdlttcpconnection.cpp \
Expand Down
8 changes: 8 additions & 0 deletions src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,14 @@ void MainWindow::initFileHandling()
{
QStringList commands = QDltOptManager::getInstance()->getPrePluginCommands();

// Enable plugins, if they are not enabled
if(!pluginsEnabled)
{
qDebug() << "Enable plugins, because they were disabled!";
pluginsEnabled = true;
dltIndexer->setPluginsEnabled(pluginsEnabled);
}

for(int num = 0; num< commands.size();num++)
{
qDebug() << "Command:" << commands[num];
Expand Down
Loading