Use empty instead of size

This commit is contained in:
Filip Gawin 2019-02-12 23:47:17 +01:00
parent 363ce67459
commit 49fe9f5db1
28 changed files with 56 additions and 56 deletions

View file

@ -1417,7 +1417,7 @@ void MainWindow::dropEvent(QDropEvent* event)
else
{
Settings& settings = Settings::Instance();
const bool show_confirm = settings.GetPaths().size() != 0;
const bool show_confirm = !settings.GetPaths().empty();
for (const QString& folder : folders)
{