Fix rss icon too large in rss settings dialog

Give a name to the rss icon (in .ui file)
Add helper function: Utils::Misc::largeIconSize()
Group functions under the same #ifdef
This commit is contained in:
Chocobo1
2017-01-20 13:43:57 +08:00
parent fed325a54d
commit 0517a3eb63
4 changed files with 24 additions and 25 deletions

View File

@@ -69,11 +69,6 @@ namespace Utils
void shutdownComputer(const ShutdownDialogAction &action);
#ifndef DISABLE_GUI
// Get screen center
QPoint screenCenter(QWidget *win);
QSize smallIconSize();
#endif
QString osName();
QString boostVersionString();
QString libtorrentVersionString();
@@ -107,6 +102,10 @@ namespace Utils
#ifndef DISABLE_GUI
void openPath(const QString& absolutePath);
void openFolderSelect(const QString& absolutePath);
QPoint screenCenter(QWidget *win);
QSize smallIconSize();
QSize largeIconSize();
#endif
#ifdef Q_OS_WIN