View Single Post
Posts: 539 | Thanked: 518 times | Joined on May 2010 @ nanaurbusiness
#643
Originally Posted by cizi View Post
Hi @J4ZZ thank you for your hint but still not works. Command line looks like this:
[CODE]patch --dry-run -p 1 -d / -i /usr/share/patchmanager/patches/ sailfishos-eventsview-controls-remastered-patch/unified_diff.patch
patching file usr/share/jolla-settings/pages/sounds/VolumeSlider.qml
Reversed (or previously applied) patch detected! Assume -R? [n] y
CODE]

To be honest I have no idea what happened but the patch is still not working :-(.I tried this run from command line and I tried run the patch from patchmanager, still "Failed to install patch".

Do you know what is wrong please?
Sorry mate, I accently provided the content of an already patched VolumeSlider.qml...

here's the correct one (unpatched) VolumeSlider.qml

Code:
import QtQuick 2.0
import Sailfish.Silica 1.0
import com.jolla.settings.system 1.0
import org.nemomobile.systemsettings 1.0


Slider {
    id: slider

    property string entryPath

    //% "Default ringtone volume"
    label: qsTrId("settings_sounds_la_volume")
    maximumValue: 100
    minimumValue: 1
    value: profileControl.ringerVolume

    onValueChanged: profileControl.ringerVolume = value
    onPressAndHold: cancel()

    ProfileControl {
        id: profileControl
        onRingerVolumeChanged: slider.value = profileControl.ringerVolume
    }
}
__________________

N900 ~ $ make me a sandwich
-bash: no, make it yourself
N900 ~ $ sudo make me a sandwich
-bash: ok then...

Last edited by J4ZZ; 2014-12-30 at 14:24.