summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Collins <solemnwarning@solemnwarning.net>2025-04-16 21:05:48 +0100
committerDaniel Collins <solemnwarning@solemnwarning.net>2025-04-16 21:08:42 +0100
commit40e3e626e4cc8bb2d65788e3c097ddae4192c4d8 (patch)
treee9e71ce2790cd8d2432c9e8efabd00105af0cc2d
parent28478ebadc25cdf41addd02df4255a52cb59067e (diff)
downloadtdenetwork-master.tar.gz
tdenetwork-master.zip
Use the normal mouse pointer when local mouse pointer is enabled in krdc.HEADmaster
The previously-included mouse pointer is invisible against dark backgrounds. https://mirror.git.trinitydesktop.org/gitea/TDE/tdenetwork/issues/98
-rw-r--r--krdc/CMakeLists.txt2
-rw-r--r--krdc/Makefile.am2
-rw-r--r--krdc/pointcursor.pngbin143 -> 0 bytes
-rw-r--r--krdc/pointcursormask.pngbin146 -> 0 bytes
-rw-r--r--krdc/vnc/kvncview.cpp7
5 files changed, 3 insertions, 8 deletions
diff --git a/krdc/CMakeLists.txt b/krdc/CMakeLists.txt
index d58b4b45..c4351514 100644
--- a/krdc/CMakeLists.txt
+++ b/krdc/CMakeLists.txt
@@ -33,7 +33,7 @@ link_directories(
tde_install_icons( krdc )
install( FILES
- pointcursor.png pointcursormask.png pinup.png pindown.png
+ pinup.png pindown.png
iconify.png close.png
DESTINATION ${DATA_INSTALL_DIR}/krdc/pics )
diff --git a/krdc/Makefile.am b/krdc/Makefile.am
index 59e6b4db..341d5bda 100644
--- a/krdc/Makefile.am
+++ b/krdc/Makefile.am
@@ -17,7 +17,7 @@ noinst_HEADERS = main.h krdc.h vidmode.h kfullscreenpanel.h events.h \
EXTRA_DIST = README TODO
appdatadir = $(kde_datadir)/krdc/pics
-appdata_DATA = pointcursor.png pointcursormask.png pinup.png pindown.png \
+appdata_DATA = pinup.png pindown.png \
iconify.png close.png
dnssddatadir = $(kde_datadir)/zeroconf
diff --git a/krdc/pointcursor.png b/krdc/pointcursor.png
deleted file mode 100644
index 368fc5b7..00000000
--- a/krdc/pointcursor.png
+++ /dev/null
Binary files differ
diff --git a/krdc/pointcursormask.png b/krdc/pointcursormask.png
deleted file mode 100644
index 6d2808f8..00000000
--- a/krdc/pointcursormask.png
+++ /dev/null
Binary files differ
diff --git a/krdc/vnc/kvncview.cpp b/krdc/vnc/kvncview.cpp
index 013e4dfa..b4025c2d 100644
--- a/krdc/vnc/kvncview.cpp
+++ b/krdc/vnc/kvncview.cpp
@@ -97,12 +97,7 @@ KVncView::KVncView(TQWidget *parent,
connect(m_cb, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(selectionChanged()));
connect(m_cb, TQ_SIGNAL(dataChanged()), this, TQ_SLOT(clipboardChanged()));
- TDEStandardDirs *dirs = TDEGlobal::dirs();
- TQBitmap cursorBitmap(dirs->findResource("appdata",
- "pics/pointcursor.png"));
- TQBitmap cursorMask(dirs->findResource("appdata",
- "pics/pointcursormask.png"));
- m_cursor = TQCursor(cursorBitmap, cursorMask);
+ m_cursor = TQt::ArrowCursor;
if ((quality != QUALITY_UNKNOWN) ||
!encodings.isNull())