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