apol requested changes to this revision.
apol added inline comments.
This revision now requires changes to proceed.

INLINE COMMENTS

> main.cpp:37
> + */
> +QString isGtk3ThemeInstalled(QString themeName)
> +{

Seems like it would return a bool.

I would change it to `gtk3ThemeInstalledPath()`. I know it wasn't your idea and 
there's already a `isGtkThemeInstalled` for gtk2, but it looks hard to figure 
out still. Feel free to change the other one if you like.

> main.cpp:44
> +        if (!themeDir.entryList(gtk3SubdirPattern, QDir::Dirs).isEmpty()) {
> +            return themesDir + "/" + themeName;
> +        }

+ QLatin1Char('/') +

> main.cpp:47
> +    }
> +    return 0;
> +}

`return {};`

> main.cpp:161
>      QString configPath = 
> QStandardPaths::writableLocation(QStandardPaths::ConfigLocation);
>      QString gtkrc3path = configPath + "/gtk-3.0/settings.ini";
>      bool needsUpdate = isGtkThemeSetToOldTheme(gtkrc3path, "Settings");

Does this need fixing too?

REPOSITORY
  R98 Breeze for Gtk

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

To: fvogt, #plasma, jackg, apol
Cc: apol, plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, mart

Reply via email to