slackbuilds_ponce/system/filelight/filelight-1.9_rc3-gcc45.patch
dsomero 2f5d00ad17 system/filelight: Patched to fix building with gcc 4.5.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
2011-03-31 23:51:43 -05:00

24 lines
596 B
Diff

http://bugs.gentoo.org/321357
--- src/app/mainWindow.cpp
+++ src/app/mainWindow.cpp
@@ -222,7 +222,7 @@
inline bool MainWindow::slotScanPath(const QString &path)
{
- return slotScanUrl(KUrl::KUrl(path));
+ return slotScanUrl(KUrl(path));
}
bool MainWindow::slotScanUrl(const KUrl &url)
--- src/part/radialMap/widget.cpp
+++ src/part/radialMap/widget.cpp
@@ -64,7 +64,7 @@
KUrl
RadialMap::Widget::url(File const * const file) const
{
- return KUrl::KUrl(file ? file->fullPath() : m_tree->fullPath());
+ return KUrl(file ? file->fullPath() : m_tree->fullPath());
}
void