mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 10:52:51 +00:00
generic: use non-deprecated methods
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
c00439ac44
commit
b69b9ff2c0
2 changed files with 2 additions and 2 deletions
|
@ -262,7 +262,7 @@ bool CursorThemeModel::handleDefault(const QDir &themeDir)
|
|||
// 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();
|
||||
|
||||
|
|
|
@ -242,7 +242,7 @@ void ControllerWindow::syncToGraphicsWidget()
|
|||
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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue