Disable DropArea in flatpak
The droparea doesn't support flatpak and dropping something leads to a crash BUG: 455990
This commit is contained in:
@@ -849,3 +849,12 @@ int Controller::quotientMinorVersion() const
|
||||
return 6;
|
||||
#endif
|
||||
}
|
||||
|
||||
bool Controller::isFlatpak() const
|
||||
{
|
||||
#ifdef NEOCHAT_FLATPAK
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user