Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Theme Editor: Altered the SkinDocument class' handling of tab titles and added a title to the confirm close dialog box, changed tab order in the EditorWindow class

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26607 a1c6a512-1295-4272-9138-f99709370657

+10 -14
+7
utils/themeeditor/editorwindow.ui
··· 272 272 </property> 273 273 </action> 274 274 </widget> 275 + <tabstops> 276 + <tabstop>fileTree</tabstop> 277 + <tabstop>skinPreview</tabstop> 278 + <tabstop>parseTree</tabstop> 279 + <tabstop>fromTree</tabstop> 280 + <tabstop>editorTabs</tabstop> 281 + </tabstops> 275 282 <resources> 276 283 <include location="resources.qrc"/> 277 284 </resources>
+3 -14
utils/themeeditor/skindocument.cpp
··· 54 54 { 55 55 /* Spawning the "Are you sure?" dialog */ 56 56 QMessageBox confirm(this); 57 + confirm.setWindowTitle(tr("Confirm Close")); 57 58 confirm.setText(title + tr(" has been modified.")); 58 59 confirm.setInformativeText(tr("Do you want to save your changes?")); 59 60 confirm.setStandardButtons(QMessageBox::Save | QMessageBox::Discard ··· 109 110 model->changeTree(editor->document()->toPlainText().toAscii()); 110 111 111 112 if(editor->document()->toPlainText() != saved) 112 - { 113 - if(title.length() > 0 && title[title.length() - 1] != '*') 114 - { 115 - title.append('*'); 116 - emit titleChanged(title); 117 - } 118 - } 113 + emit titleChanged(title + QChar('*')); 119 114 else 120 - { 121 - if(title.length() > 0 && title[title.length() - 1] == '*') 122 - { 123 - title.chop(1); 124 - emit titleChanged(title); 125 - } 126 - } 115 + emit titleChanged(title); 127 116 } 128 117 129 118 void SkinDocument::save()