Ticket #7052: Deskbar_PreferencesWindow_cpp_style_fix.diff

File Deskbar_PreferencesWindow_cpp_style_fix.diff, 1.6 KB (added by jscipione, 13 years ago)
  • src/apps/deskbar/PreferencesWindow.cpp

    diff --git a/src/apps/deskbar/PreferencesWindow.cpp b/src/apps/deskbar/PreferencesWindow.cpp
    index aecbba7..bb378f1 100644
    a b PreferencesWindow::PreferencesWindow(BRect frame)  
    3535    // Controls
    3636    fMenuRecentDocuments = new BCheckBox(B_TRANSLATE("Recent documents:"),
    3737        new BMessage(kUpdateRecentCounts));
    38     fMenuRecentApplications = new BCheckBox(
    39         B_TRANSLATE("Recent applications:"),
     38    fMenuRecentApplications = new BCheckBox(B_TRANSLATE("Recent applications:"),
    4039        new BMessage(kUpdateRecentCounts));
    4140    fMenuRecentFolders = new BCheckBox(B_TRANSLATE("Recent folders:"),
    4241        new BMessage(kUpdateRecentCounts));
    PreferencesWindow::PreferencesWindow(BRect frame)  
    5251        new BMessage(kSortRunningApps));
    5352    fAppsSortTrackerFirst = new BCheckBox(B_TRANSLATE("Tracker always first"),
    5453        new BMessage(kTrackerFirst));
    55     fAppsShowExpanders = new BCheckBox(
    56         B_TRANSLATE("Show application expander"),
     54    fAppsShowExpanders = new BCheckBox(B_TRANSLATE("Show application expander"),
    5755        new BMessage(kSuperExpando));
    5856    fAppsExpandNew = new BCheckBox(B_TRANSLATE("Expand new applications"),
    5957        new BMessage(kExpandNewTeams));
    PreferencesWindow::PreferencesWindow(BRect frame)  
    8381
    8482    // Values
    8583    TBarApp* barApp = static_cast<TBarApp*>(be_app);
    86     desk_settings* appSettings = barApp->Settings();;
     84    desk_settings* appSettings = barApp->Settings();
    8785
    8886    fAppsSort->SetValue(appSettings->sortRunningApps);
    8987    fAppsSortTrackerFirst->SetValue(appSettings->trackerAlwaysFirst);