nixpkgs/pkgs/applications/misc/filelight/gcc45.diff
Yury G. Kudryashov 302d783310 Make filelight compile with gcc-4.5
svn path=/nixpkgs/branches/stdenv-updates/; revision=25313
2010-12-28 18:47:57 +00:00

27 lines
841 B
Diff

diff --git a/src/app/mainWindow.cpp b/src/app/mainWindow.cpp
index 68ec189..feb0e53 100644
--- a/src/app/mainWindow.cpp
+++ b/src/app/mainWindow.cpp
@@ -222,7 +222,7 @@ inline void MainWindow::slotComboScan()
inline bool MainWindow::slotScanPath(const QString &path)
{
- return slotScanUrl(KUrl::KUrl(path));
+ return slotScanUrl(KUrl(path));
}
bool MainWindow::slotScanUrl(const KUrl &url)
diff --git a/src/part/radialMap/widget.cpp b/src/part/radialMap/widget.cpp
index d48a673..762f74e 100644
--- a/src/part/radialMap/widget.cpp
+++ b/src/part/radialMap/widget.cpp
@@ -64,7 +64,7 @@ RadialMap::Widget::path() const
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