add dynamic settings load

fix setTray() function
This commit is contained in:
arcan1s
2014-08-07 17:06:52 +04:00
parent 4e027ec19f
commit 516c4b5a22
12 changed files with 246 additions and 205 deletions

View File

@ -59,8 +59,7 @@ NetctlProfile::~NetctlProfile()
{
if (debug) qDebug() << "[NetctlProfile]" << "[~NetctlProfile]";
if (profileDirectory != 0)
delete profileDirectory;
if (profileDirectory != nullptr) delete profileDirectory;
}