[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [wacomtablet] src/kcmodule: remove button1 settings form
From: Jörg_Ehrichs <Joerg.Ehrichs () gmx ! de>
Date: 2011-09-02 18:23:52
Message-ID: 20110902182352.9B7FDA6078 () git ! kde ! org
[Download RAW message or body]
Git commit c054d8e2bbf4120d947ff234fc260df26af6b653 by Jörg Ehrichs.
Committed on 02/09/2011 at 20:05.
Pushed by jehrichs into branch 'master'.
remove button1 settings form eraser/stylus only default (left-click) is now possible. \
This works around a nasty bug in the wacom driver. There is no usecase to change \
button 1 anyway.
M +2 -2 src/kcmodule/profilemanagement.cpp
http://commits.kde.org/wacomtablet/c054d8e2bbf4120d947ff234fc260df26af6b653
diff --git a/src/kcmodule/profilemanagement.cpp b/src/kcmodule/profilemanagement.cpp
index e0caaac..5fec567 100644
--- a/src/kcmodule/profilemanagement.cpp
+++ b/src/kcmodule/profilemanagement.cpp
@@ -97,7 +97,7 @@ void ProfileManagement::createNewProfile( const QString \
&profilename ) // write default config for the stylus
KConfigGroup *stylusGroup = new KConfigGroup( profileGroup, "stylus" );
- stylusGroup->writeEntry( "Button1", "1" );
+ //stylusGroup->writeEntry( "Button1", "1" ); // removed beacuse the wacomdriver \
has an awfull bug when reset button 1 to 1 (leftclick) stylusGroup->writeEntry( \
"Button2", "2" ); stylusGroup->writeEntry( "Button3", "3" );
stylusGroup->writeEntry( "Mode", "absolute" );
@@ -133,7 +133,7 @@ void ProfileManagement::createNewProfile( const QString \
&profilename ) // write default config for the eraser
KConfigGroup *eraserGroup = new KConfigGroup( profileGroup, "eraser" );
- eraserGroup->writeEntry( "Button1", "1" );
+ //eraserGroup->writeEntry( "Button1", "1" ); // removed beacuse the wacomdriver \
has an awfull bug when reset button 1 to 1 (leftclick) eraserGroup->writeEntry( \
"Button2", "2" ); eraserGroup->writeEntry( "Button3", "3" );
eraserGroup->writeEntry( "Mode", "absolute" );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic