D29772: Don't compare string with empty string

Carl Schwan <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
ognarb planned changes to this revision.
ognarb added inline comments.

INLINE COMMENTS

> broulik wrote in FileDialogLoader.qml:39
> Why not just `!root.lastFolder`? or even
> 
>   root.lastFolder || shortcuts.home

I didn't know that an empty string in js was returning false.

REPOSITORY
  R108 KWin

REVISION DETAIL
  https://phabricator.kde.org/D29772

To: ognarb, #plasma, iasensio
Cc: broulik, kwin, Orage, cacarry, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.