rename define UBUNTU to HAS_GNOME_KEYRING

The name UBUNTU is misleading since it is only used to select the keyring backend (which is gnome keyring on linux).
This also allows to support other keyrings on linux in the future (e.g. KDEs keyring)
This commit is contained in:
sehraf 2016-06-02 13:22:24 +02:00
parent 4f60c8cc9b
commit 6e38554bcd
10 changed files with 17 additions and 17 deletions

View file

@ -101,8 +101,8 @@ RshareSettings::RshareSettings()
void RshareSettings::initSettings()
{
#ifdef UBUNTU
// use GTK as default style on ubuntu
#ifdef Q_OS_LINUX
// use GTK as default style on linux
setDefault(SETTING_STYLE, "GTK+");
#else
#if defined(Q_OS_MAC)