Formatting
This commit is contained in:
parent
ce7dbe120e
commit
05480f0151
@ -507,7 +507,7 @@ void addToDB( const string &show, const string &path, const string &language,
|
||||
ProgressBar p( progress_ptr );
|
||||
#endif
|
||||
|
||||
if( seasons.size() == 0 )
|
||||
if ( seasons.size() == 0 )
|
||||
return;
|
||||
|
||||
p.print( _( RENAMING ) );
|
||||
@ -609,7 +609,7 @@ void refreshDB( bool linux, void *progress_ptr ) {
|
||||
ProgressBar p( progress_ptr );
|
||||
#endif // GUI
|
||||
|
||||
if( shows.size() == 0 )
|
||||
if ( shows.size() == 0 )
|
||||
return;
|
||||
|
||||
for ( auto &show : shows ) {
|
||||
@ -696,7 +696,7 @@ void updateDB( bool linux, void *progress_ptr ) {
|
||||
ProgressBar p( progress_ptr );
|
||||
#endif
|
||||
|
||||
if( shows.size() == 0 )
|
||||
if ( shows.size() == 0 )
|
||||
return;
|
||||
|
||||
p.print( _( UPDATING_DB ) );
|
||||
@ -796,7 +796,7 @@ void cleanDB( void *progress_ptr ) {
|
||||
ProgressBar p( progress_ptr );
|
||||
#endif // GUI
|
||||
|
||||
if( shows.size() == 0 )
|
||||
if ( shows.size() == 0 )
|
||||
return;
|
||||
|
||||
p.print( _( CLEANING_DB ) );
|
||||
|
@ -96,7 +96,7 @@ DatabaseWindow::DatabaseWindow(
|
||||
|
||||
// make columns resizable
|
||||
for ( auto &column : m_tree_database->get_columns() ) {
|
||||
column->set_resizable(true);
|
||||
column->set_resizable( true );
|
||||
}
|
||||
|
||||
// create language combobox for treeview
|
||||
|
@ -21,9 +21,9 @@ SeasonWindow::SeasonWindow( HINSTANCE hInstance,
|
||||
: parent( parent_window ), returned( return_vector ),
|
||||
season_nums( seasons ) {
|
||||
window = CreateWindowW( L"SeasonWindow", _( GUI_WINDOW_SEASON ),
|
||||
WS_OVERLAPPEDWINDOW | WS_VISIBLE,
|
||||
CW_USEDEFAULT, CW_USEDEFAULT, window_width,
|
||||
window_height, parent, NULL, hInstance, NULL );
|
||||
WS_OVERLAPPEDWINDOW | WS_VISIBLE, CW_USEDEFAULT,
|
||||
CW_USEDEFAULT, window_width, window_height, parent,
|
||||
NULL, hInstance, NULL );
|
||||
ShowWindow( window, SW_SHOW );
|
||||
auto hFont = ( HFONT )GetStockObject( DEFAULT_GUI_FONT );
|
||||
EnableWindow( parent, false );
|
||||
|
Loading…
Reference in New Issue
Block a user