Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
// If "default" is a symlink
if (info.isSymLink())
{
- QFileInfo target(info.symLinkTarget());
+ QFileInfo target(info.readLink());
if (target.exists() && (target.isDir() || target.isSymLink()))
defaultName = target.fileName();
PlasmaApp::self()->corona()->screenGeometry(m_containment.data()->screen()) :
PlasmaApp::self()->corona()->screenGeometry(PlasmaApp::self()->corona()->screenId(pos()));
- QSize maxSize = KWindowSystem::workArea().intersect(screenRect).size();
+ QSize maxSize = KWindowSystem::workArea().intersected(screenRect).size();
QSize windowSize;
if (m_location == Plasma::LeftEdge || m_location == Plasma::RightEdge) {