Abstract the indicator style, now comes from the factory
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
*/
|
||||
|
||||
#include "FrameworkWidgetFactory.h"
|
||||
|
||||
#include "indicators/ClassicIndicators_p.h"
|
||||
#include "QWidgetAdapter.h"
|
||||
|
||||
#include "widgets/FrameWidget_p.h"
|
||||
@@ -74,3 +74,8 @@ FloatingWindow *DefaultWidgetFactory::createFloatingWindow(Frame *frame, QWidget
|
||||
{
|
||||
return new FloatingWindowWidget(frame, parent);
|
||||
}
|
||||
|
||||
DropIndicatorOverlayInterface *DefaultWidgetFactory::createDropIndicatorOverlay(DropArea *dropArea) const
|
||||
{
|
||||
return new ClassicIndicators(dropArea);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user