Skip to content

Commit

Permalink
Merge pull request #334 from haenkel/rect-324
Browse files Browse the repository at this point in the history
Fix a Linux build error
  • Loading branch information
asb2m10 committed Apr 5, 2022
2 parents 22f03ad + 4faaa1c commit 05275ce
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
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

0 comments on commit 05275ce

Please sign in to comment.