mirror of
https://github.com/RGBCube/serenity
synced 2025-07-14 17:57:34 +00:00
LibGUI: Make SortingProxyModel proxy accepts_drag()
This commit is contained in:
parent
12d0d12a78
commit
7baaa34490
6 changed files with 11 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
|
||||
* Copyright (c) 2018-2021, Andreas Kling <kling@serenityos.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -71,7 +71,7 @@ ModelIndex Model::index(int row, int column, const ModelIndex&) const
|
|||
return create_index(row, column);
|
||||
}
|
||||
|
||||
bool Model::accepts_drag(const ModelIndex&, const Vector<String>&)
|
||||
bool Model::accepts_drag(const ModelIndex&, const Vector<String>&) const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue