use empty() instead of comparison with an empty string
This commit is contained in:
@@ -309,7 +309,7 @@ void PlacesBrowser::dirSelected (const Glib::ustring& dirname, const Glib::ustri
|
||||
void PlacesBrowser::addPressed ()
|
||||
{
|
||||
|
||||
if (lastSelectedDir == "") {
|
||||
if (lastSelectedDir.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user