[Marble-devel] Making changes in Marble menu.

Savita Seetaraman savita.seetaraman5 at gmail.com
Tue Feb 18 08:20:23 UTC 2014


Hello Knut,

Thanks for replying so soon !


> I think you're referring to line 262
>
> m_fullScreenAct->setShortcut(tr("Ctrl+Shift+F"));
>
> don't, you?
>

Yes, that's exactly what I am referring to ! :-)


>
> 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);
>

Yes I did :-/ I tried changing the name of an existing action and also
tried adding a new action. I can't see both these change when I run Marble.

I'll check once again to see if I'm running the correct binary.

Thanks !
Savita.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20140218/824194f7/attachment.html>


More information about the Marble-devel mailing list