[KPhotoAlbum] Fwd: Re: Fwd: Re: problems compiling KPA on Ubuntu 16.4 (LTS)
Tobias Leupold
tobias.leupold at gmx.de
Sun Jan 29 16:40:36 GMT 2017
A Quick 'n' Dirty patch would be:
--- a/AnnotationDialog/Dialog.cpp
+++ b/AnnotationDialog/Dialog.cpp
@@ -1235,19 +1235,6 @@ void AnnotationDialog::Dialog::loadWindowLayout()
QString fileName = QString::fromLatin1( "%1/layout.dat" ).arg(
Settings::SettingsData::instance()->imageDirectory() );
if ( !QFileInfo(fileName).exists() )
{
- // create default layout
- // label/date/rating in a visual block with description:
- m_dockWindow->splitDockWidget(m_generalDock, m_descriptionDock,
Qt::Vertical);
- // more space for description:
- m_dockWindow->resizeDocks({m_generalDock, m_descriptionDock},
{60,100}, Qt::Vertical);
- // more space for preview:
- m_dockWindow->resizeDocks({m_generalDock, m_descriptionDock,
m_previewDock},{200,200,800}, Qt::Horizontal);
-#ifdef HAVE_KGEOMAP
- // group the map with the preview
- m_dockWindow->tabifyDockWidget(m_previewDock, m_mapDock);
- // make sure the preview tab is active:
- m_previewDock->raise();
-#endif
return;
}
This brings it to what KPA 4.7.2 did there.
More information about the Kphotoalbum
mailing list