Permalink
Browse files

About GUI: Fix for package set detection

  • Loading branch information...
1 parent 6a1450b commit 48dd0f5d906074cffdacd0440abfde16dc6d2f3e @yurkis yurkis committed Mar 27, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 src-qt4/about-gui/mainwindow.cpp
View
4 src-qt4/about-gui/mainwindow.cpp
@@ -91,8 +91,8 @@ MainWindow::MainWindow(QWidget *parent) :
// Utils version
ui->UtilsLabel->setText(pcbsd::Utils::runShellCommand("pkg query '%v' pcbsd-utils-qt4").at(0).section("'", 1, 1));
- QString PkgSet = pcbsd::Utils::getValFromPCBSDConf("PACKAGE_SET");
- PkgSet="PRODUCTION";
+ QString PkgSet="PRODUCTION";
+ PkgSet = pcbsd::Utils::getValFromPCBSDConf("PACKAGE_SET");
if (PkgSet.toUpper().trimmed() == "EDGE")
{
PkgSet="EDGE";

0 comments on commit 48dd0f5

Please sign in to comment.