settings.cpp 398 Bytes
Newer Older
aliorhun's avatar
aliorhun committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#include <QDebug>
#include <QDir>
#include "settings.h"




const QString Cache::GREETER_DATA_DIR_PATH = "/var/lib/lightdm/hvl-lightdm-greeter";

void Cache::prepare()
{
    QDir dir(GREETER_DATA_DIR_PATH);
    if (!dir.exists()) {
        if (!dir.mkpath(GREETER_DATA_DIR_PATH)) {
            qWarning() << tr("Unable to create dir") << GREETER_DATA_DIR_PATH;
        }else {


        }
    }
}