Merge pull request #7798 from ShFil119/impr/empty

Use empty instead of size
This commit is contained in:
Tilka
2019-02-13 01:59:43 +00:00
committed by GitHub
28 changed files with 56 additions and 56 deletions

View File

@ -1418,7 +1418,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)
{