Removed ToolbarSegmentedCell (#4418)

This commit is contained in:
Cœur
2022-12-22 01:13:12 +08:00
committed by GitHub
parent 092d411663
commit cc9bc748b0
5 changed files with 0 additions and 33 deletions

View File

@@ -90,7 +90,6 @@ set(${PROJECT_NAME}_SOURCES
StatusBarController.mm
StatusBarView.mm
Toolbar.mm
ToolbarSegmentedCell.mm
Torrent.mm
TorrentCell.mm
TorrentGroup.mm
@@ -163,7 +162,6 @@ set(${PROJECT_NAME}_HEADERS
StatusBarController.h
StatusBarView.h
Toolbar.h
ToolbarSegmentedCell.h
Torrent.h
TorrentCell.h
TorrentGroup.h

View File

@@ -42,7 +42,6 @@
#import "ShareToolbarItem.h"
#import "ShareTorrentFileHelper.h"
#import "Toolbar.h"
#import "ToolbarSegmentedCell.h"
#import "BlocklistDownloader.h"
#import "StatusBarController.h"
#import "FilterBarController.h"

View File

@@ -1,9 +0,0 @@
// This file Copyright © 2007-2022 Transmission authors and contributors.
// It may be used under the MIT (SPDX: MIT) license.
// License text can be found in the licenses/ folder.
#import <AppKit/AppKit.h>
@interface ToolbarSegmentedCell : NSSegmentedCell
@end

View File

@@ -1,15 +0,0 @@
// This file Copyright © 2007-2022 Transmission authors and contributors.
// It may be used under the MIT (SPDX: MIT) license.
// License text can be found in the licenses/ folder.
#import "ToolbarSegmentedCell.h"
@implementation ToolbarSegmentedCell
//when the toolbar is set to small size, don't make the group items small
- (NSControlSize)controlSize
{
return NSControlSizeRegular;
}
@end