mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
24 lines
646 B
Diff
24 lines
646 B
Diff
--- 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)
|
|
|
|
--- 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
|