1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 16:24:02 +00:00

Fix build on Windows (blindly)

This commit is contained in:
Mike Gelfand 2015-01-29 22:10:00 +00:00
parent d96ef13a89
commit 49e16e64a6
2 changed files with 2 additions and 3 deletions

View file

@ -563,7 +563,7 @@ TrMainWindow::setLocation ()
static
void openSelect (const QString& path)
{
const QString explorer = "explorer";
const QString explorer = QLatin1String ("explorer");
QString param;
if (!QFileInfo (path).isDir ())
param = QLatin1String ("/select,");

View file

@ -50,7 +50,7 @@ namespace
{
QString const pixmapCacheKey = QLatin1String ("tr_file_ext_")
+ QString::number (iconSize)
+ "_"
+ QLatin1Char ('_')
+ fileInfo.suffix ();
QPixmap pixmap;
@ -83,7 +83,6 @@ namespace
} // namespace
#endif
#include <QDebug>
QIcon
Utils::guessMimeIcon (const QString& filename)
{