@@ -150,7 +150,7 @@ namespace
150
150
151
151
152
152
ColorThemeWindow::ColorThemeWindow ( InterSpec *interspec )
153
- : AuxWindow( WString::tr(" ctw-window-title" ), Wt::WFlags< AuxWindowProperties>(AuxWindowProperties ::TabletNotFullScreen) | AuxWindowProperties::SetCloseable ),
153
+ : AuxWindow( WString::tr(" ctw-window-title" ), AuxWindowProperties::TabletNotFullScreen | AuxWindowProperties::SetCloseable ),
154
154
m_interspec(interspec),
155
155
m_menu( nullptr ),
156
156
m_edit( nullptr ),
@@ -407,8 +407,9 @@ void ColorThemeWindow::removeThemeCallback()
407
407
const long long dbIndex = item->theme ()->dbIndex ;
408
408
409
409
AuxWindow *conf = new AuxWindow ( WString::tr (" ctw-delete-confirm-title" ).arg (name),
410
- WFlags<AuxWindowProperties>(AuxWindowProperties::DisableCollapse)
411
- | AuxWindowProperties::IsModal | AuxWindowProperties::TabletNotFullScreen );
410
+ AuxWindowProperties::DisableCollapse
411
+ | AuxWindowProperties::IsModal
412
+ | AuxWindowProperties::TabletNotFullScreen );
412
413
413
414
auto doDelete = [this ,dbIndex,item,conf](){
414
415
if ( dbIndex >= 0 )
@@ -471,8 +472,9 @@ void ColorThemeWindow::uploadThemeCallback()
471
472
472
473
// 1) Make a dialog to allow user to select a file.
473
474
AuxWindow *window = new AuxWindow ( WString::tr (" ctw-upload-title" ),
474
- (Wt::WFlags<AuxWindowProperties>(AuxWindowProperties::IsModal)
475
- | AuxWindowProperties::TabletNotFullScreen | AuxWindowProperties::DisableCollapse
475
+ (AuxWindowProperties::IsModal
476
+ | AuxWindowProperties::TabletNotFullScreen
477
+ | AuxWindowProperties::DisableCollapse
476
478
| AuxWindowProperties::SetCloseable) );
477
479
478
480
WContainerWidget *contents = window->contents ();
0 commit comments