[Marble-devel] Making changes in Marble menu.

Knut Krause knut.krause at lagom.de
Tue Feb 18 07:00:00 UTC 2014


Hi,

I think you're referring to line 262

m_fullScreenAct->setShortcut(tr("Ctrl+Shift+F"));

don't, you?

I'm not a marble developer myself but this is, what I'd change ;-)
Are you sure, you're running the Qt UI afterwards and not the KDE version by 
accident? If I look at the code this action only triggers showFullscreen which 
does nothing but 

setWindowState( windowState() | Qt::WindowFullScreen );

so your changes should be correct. If you cannot rename the action though I 
think you run a wron binary afterwards. Did you try somthing like that

m_fullScreenAct = new QAction( QIcon(":/icons/view-fullscreen.png"), tr("My 
changed full screen mode"), this);

?


Knut

Am Dienstag, 18. Februar 2014, 12:07:21 schrieb Savita Seetaraman:
> Hello all,
> 
> I am Savita Seetaraman, an undergrad computer science and engineering
> student interested in applying for GSoC 2014 by contributing to KDE Marble.
> 
> I have compiled and built Marble from source code. Here are the
> specifications that I used :
> 
> Version : anonymous
> Compiling option : QTONLY = true
> 
> While looking for simple bugs to start with, I came across this one :
> https://bugs.kde.org/show_bug.cgi?id=326037. I tried making changes to the
> file, src/apps/marble-qt/QtMainWindow.cpp, which is where the various menu
> options like Full Screen Mode and Status Bar, etc. and their shortcuts have
> been defined. However, these changes do not get reflected when I compile
> and run Marble. Even trying to change the name of an option (which
> obviously should get reflected) does not work out. I tried changing some
> other parts of the code, like the datasheet of cities and it works fine.
> 
> Am I missing something obvious ?
> 
> Thanks and regards,
> Savita.
> (savitats on IRC)



More information about the Marble-devel mailing list