Changeset 2261 for trunk/src/gui/src/SongEditor/SongEditor.cpp
- Timestamp:
- 07/12/11 14:36:32 (23 months ago)
- Files:
-
- 1 modified
-
trunk/src/gui/src/SongEditor/SongEditor.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/src/SongEditor/SongEditor.cpp
r2260 r2261 1385 1385 else { 1386 1386 // there's no patterns.. 1387 Pattern *emptyPattern = Pattern::get_empty_pattern();1387 Pattern *emptyPattern = new Pattern(); 1388 1388 emptyPattern->set_name( trUtf8("Pattern 1") ); 1389 1389 emptyPattern->set_category( trUtf8("not_categorized") ); … … 1452 1452 1453 1453 //create a tmp pattern needed for PatternPropertiesDialog. 1454 H2Core::Pattern *pNewPattern = pPattern->copy();1454 H2Core::Pattern *pNewPattern = new Pattern( pPattern ); 1455 1455 pPatternList->add( pNewPattern ); 1456 1456