summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-11-25 01:40:35 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-11-25 01:40:35 -0600
commite55243917cfc7beef8e8d320a45c7b6747abc5df (patch)
tree29340261c2ebe9d6310b20ddb6d6551c66478b06
parent4cd76df113ab0bdd914ea2f90c214b9ec58601a1 (diff)
downloadtdenetwork-e55243917cfc7beef8e8d320a45c7b6747abc5df.tar.gz
tdenetwork-e55243917cfc7beef8e8d320a45c7b6747abc5df.zip
Fix teeny tiny toolbar buttons in fullscreen mode
-rw-r--r--krdc/krdc.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/krdc/krdc.cpp b/krdc/krdc.cpp
index ab35a6dd..b871e82f 100644
--- a/krdc/krdc.cpp
+++ b/krdc/krdc.cpp
@@ -407,7 +407,6 @@ void KRDC::switchToFullscreen(bool scaling)
bool fromFullscreen = (m_isFullscreen == WINDOW_MODE_FULLSCREEN);
- TQWidget *desktop = TQT_TQWIDGET(TQApplication::desktop());
TQDesktopWidget* desktopWidget = TQApplication::desktop();
//int activeXineramaScreen = desktopWidget->screenNumber(this);
int activeXineramaScreen = desktopWidget->screenNumber(TQCursor::pos());
@@ -481,7 +480,7 @@ void KRDC::switchToFullscreen(bool scaling)
TDEToolBar *t = new TDEToolBar(m_fsToolbar);
m_fsToolbarWidget = t;
- t->setIconSize(TDEIcon::Panel);
+ t->setIconSize(16);
TQIconSet pinIconSet;
pinIconSet.setPixmap(m_pinup, TQIconSet::Automatic, TQIconSet::Normal, TQIconSet::On);
@@ -735,7 +734,7 @@ bool KRDC::event(TQEvent *e) {
}
bool KRDC::eventFilter(TQObject *watched, TQEvent *e) {
-/* used to get events from TQScrollView on resize for scale mode*/
+ /* used to get events from TQScrollView on resize for scale mode*/
if (TQT_BASE_OBJECT(watched) != TQT_BASE_OBJECT(m_scrollView))
return false;
if (e->type() != TQEvent::Resize)