mirror of
https://github.com/transmission/transmission
synced 2024-12-24 08:43:27 +00:00
Fix build on Windows (blindly)
This commit is contained in:
parent
d96ef13a89
commit
49e16e64a6
2 changed files with 2 additions and 3 deletions
|
@ -563,7 +563,7 @@ TrMainWindow::setLocation ()
|
||||||
static
|
static
|
||||||
void openSelect (const QString& path)
|
void openSelect (const QString& path)
|
||||||
{
|
{
|
||||||
const QString explorer = "explorer";
|
const QString explorer = QLatin1String ("explorer");
|
||||||
QString param;
|
QString param;
|
||||||
if (!QFileInfo (path).isDir ())
|
if (!QFileInfo (path).isDir ())
|
||||||
param = QLatin1String ("/select,");
|
param = QLatin1String ("/select,");
|
||||||
|
|
|
@ -50,7 +50,7 @@ namespace
|
||||||
{
|
{
|
||||||
QString const pixmapCacheKey = QLatin1String ("tr_file_ext_")
|
QString const pixmapCacheKey = QLatin1String ("tr_file_ext_")
|
||||||
+ QString::number (iconSize)
|
+ QString::number (iconSize)
|
||||||
+ "_"
|
+ QLatin1Char ('_')
|
||||||
+ fileInfo.suffix ();
|
+ fileInfo.suffix ();
|
||||||
|
|
||||||
QPixmap pixmap;
|
QPixmap pixmap;
|
||||||
|
@ -83,7 +83,6 @@ namespace
|
||||||
} // namespace
|
} // namespace
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <QDebug>
|
|
||||||
QIcon
|
QIcon
|
||||||
Utils::guessMimeIcon (const QString& filename)
|
Utils::guessMimeIcon (const QString& filename)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue