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

Fix a Linux build error #334

Merged
merged 1 commit into from
Apr 5, 2022
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ assets/
products/

.DS_Store
build*/
.cache/
4 changes: 2 additions & 2 deletions Source/CartManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ CartManager::CartManager(DexedAudioProcessorEditor *editor) : Component("CartMan

CartManager::~CartManager() {
timeSliceThread->stopThread(500);
cartBrowserList.release();
timeSliceThread.release();
cartBrowserList;
timeSliceThread;
}

void CartManager::paint(Graphics &g) {
Expand Down
2 changes: 1 addition & 1 deletion Source/PluginProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ AudioProcessorEditor* DexedAudioProcessor::createEditor() {
}
}

const juce::Rectangle rect(DexedAudioProcessorEditor::WINDOW_SIZE_X * dpiScaleFactor,DexedAudioProcessorEditor::WINDOW_SIZE_Y * dpiScaleFactor);
const juce::Rectangle<int> rect(DexedAudioProcessorEditor::WINDOW_SIZE_X * dpiScaleFactor,DexedAudioProcessorEditor::WINDOW_SIZE_Y * dpiScaleFactor);
bool displayFound = false;

// validate if there is really a display that can show the complete plugin size
Expand Down