Changeset 285

Show
Ignore:
Timestamp:
07/28/08 22:47:30 (5 years ago)
Author:
wolke
Message:

code cleanup

Location:
trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/gui/src/SongEditor/SongEditor.cpp

    r270 r285  
    3939#include "../PatternEditor/PatternEditorPanel.h" 
    4040#include "../HydrogenApp.h" 
     41#include "../InstrumentRack.h" 
    4142#include "../widgets/Button.h" 
    4243#include "../PatternFillDialog.h" 
     
    992993                _ERRORLOG( "Error saving the pattern" ); 
    993994        } 
    994 } 
     995 
     996#ifdef WIN32 
     997        Sleep ( 10 ); 
     998#else 
     999        usleep ( 10000 ); 
     1000#endif  
     1001        HydrogenApp::getInstance()->getInstrumentRack()->getSoundLibraryPanel()->updateDrumkitList(); 
     1002} 
     1003 
     1004 
    9951005 
    9961006void SongEditorPatternList::patternPopup_edit() 
  • trunk/gui/src/SoundLibrary/SoundLibraryPanel.cpp

    r283 r285  
    200200                QString filenameforpattern = absPath + "/patterns/"; 
    201201                 
    202                  
     202 
    203203                if (pInfo) { 
    204204                        std::vector<QString> patternListforDrumkit = mng.getPatternsForDrumkit( pInfo->getName() ); 
  • trunk/libs/hydrogen/src/local_file_mgr.cpp

    r284 r285  
    3939#include <hydrogen/fx/Effects.h> 
    4040 
    41 #include "gui/src/HydrogenApp.h" 
    42 #include "gui/src/InstrumentRack.h" 
    4341 
    4442#include <cstdlib> 
     
    245243 
    246244 
    247 #ifdef WIN32 
    248                 Sleep ( 5 ); 
    249 #else 
    250                 usleep ( 5000 ); 
    251 #endif  
    252245 
    253246        return 0; // ok