Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mhtvsSFrpHdE committed Sep 11, 2022
1 parent 44cc23c commit e1b21ff
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion qpp/prefetch/Source/Input/Thread/loop_thread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,4 @@ QMap<QString, void (*)()> LoopThread::commandMap_level1(
{Command_Level1::traydc, &ConsoleCommandFunction_Level1::traydc}});
QMap<QString, void (*)(QString)> LoopThread::commandMap_level2(
std::map<QString, void (*)(QString)>{
{Command_Level2::run, &ConsoleCommandFunction_Level2::run}});
{Command_Level2::run, &ConsoleCommandFunction_Level2::run}});
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@ void CustomAction::init(void *freeStore, ParameterSlot triggered)
{
this->freeStore = freeStore;
this->triggeredSlotStore = triggered;

auto dbg_freeStore = (QString *)freeStore;
}

void CustomAction::triggered_slot()
{
auto dbg_freeStore = (QString *)freeStore;

this->triggeredSlotStore(freeStore);
}
6 changes: 3 additions & 3 deletions qpp/prefetch/prefetch.pro
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

FORMS += \
Source/Interface/MainWindow/mainwindow.ui

# My setting

# Compile with console
Expand All @@ -75,6 +78,3 @@ RESOURCES += \

# Third party library
INCLUDEPATH += $$PWD/../ThirdParty/boost

FORMS += \
Source/Interface/MainWindow/mainwindow.ui

0 comments on commit e1b21ff

Please sign in to comment.