Preferences *preferences = shbtn_edit->pwindow->thread->preferences;
for( int i=0; i<preferences->shbtn_prefs.size(); ++i ) {
shbtn_items.append(new ShBtnPrefItem(preferences->shbtn_prefs[i]));
Preferences *preferences = shbtn_edit->pwindow->thread->preferences;
for( int i=0; i<preferences->shbtn_prefs.size(); ++i ) {
shbtn_items.append(new ShBtnPrefItem(preferences->shbtn_prefs[i]));